diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2017-04-12 19:20:38 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2017-04-12 19:20:38 -0300 |
commit | 5dcec83e6430da3abb0e5725b58fab85bd0adb8f (patch) | |
tree | dfb559eac191cdbdc988ee7f95b865fa33471943 /lib/Matrix/Client | |
parent | 2af030ffb9dd31f1fd4d1b0c6fbb901b23575a81 (diff) | |
download | perl6-matrix-client-5dcec83e6430da3abb0e5725b58fab85bd0adb8f.tar.gz |
Rework login/BUILD methods
Diffstat (limited to 'lib/Matrix/Client')
-rw-r--r-- | lib/Matrix/Client/Requester.pm6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Matrix/Client/Requester.pm6 b/lib/Matrix/Client/Requester.pm6 index ec9a2d1..f6244e3 100644 --- a/lib/Matrix/Client/Requester.pm6 +++ b/lib/Matrix/Client/Requester.pm6 @@ -17,7 +17,7 @@ method get(Str $path, :$media = False, *%data) { for %data.kv -> $k,$v { $q ~= "&$k=$v" unless $v eq ""; } - my $uri = uri_encode($.base-url($media) ~ $q); + my $uri = uri_encode($.base-url(:$media) ~ $q); $!ua.history = []; $!ua.get($uri) |