diff options
author | Matias Linares <matiaslina@gmail.com> | 2020-09-06 19:51:23 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2020-09-06 19:51:23 -0300 |
commit | ab2a237e5cff43f9b8cd806b7e9e271ffb01b461 (patch) | |
tree | a24c4946fa4e823e079ff72f9d8cd78406a63c38 /lib | |
parent | e32ac2fe81a3ab4e5532f1a67a5df3c6904aad2b (diff) | |
download | perl6-matrix-client-ab2a237e5cff43f9b8cd806b7e9e271ffb01b461.tar.gz |
Update endpoints script.
Show the total of endpoints implemented at the end
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Matrix/Client/MediaStore.rakumod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Matrix/Client/MediaStore.rakumod b/lib/Matrix/Client/MediaStore.rakumod index 7afa9e3..cb59626 100644 --- a/lib/Matrix/Client/MediaStore.rakumod +++ b/lib/Matrix/Client/MediaStore.rakumod @@ -70,6 +70,7 @@ multi method download(Str $server-name, Str $media-id, Bool :$allow-remote = Tru ) } +#| GET - /_matrix/media/r0/config method config(--> Matrix::Response::MediaStore::Config) { my $response = $.get("/config"); Matrix::Response::MediaStore::Config.new(from-json($response.content)) |