aboutsummaryrefslogtreecommitdiff
path: root/lib/Matrix/Client/Requester.pm6
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2020-12-27 12:19:17 -0300
committerMatias Linares <matiaslina@gmail.com>2020-12-27 12:19:17 -0300
commit6883348dafc0e6c58a5478074221f8cca7859716 (patch)
tree8dd8db05b0f31f2bf3aef81426758b2b658e9f7f /lib/Matrix/Client/Requester.pm6
parente1abad7a57fd34ffb55c1d57d0b89ee91e55296b (diff)
parentf1d1a526cc4950578e8769fe3c94147777466531 (diff)
downloadperl6-matrix-client-6883348dafc0e6c58a5478074221f8cca7859716.tar.gz
Merge branch 'master' into documentation
Diffstat (limited to 'lib/Matrix/Client/Requester.pm6')
-rw-r--r--lib/Matrix/Client/Requester.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Matrix/Client/Requester.pm6 b/lib/Matrix/Client/Requester.pm6
index ff543c9..36a9f69 100644
--- a/lib/Matrix/Client/Requester.pm6
+++ b/lib/Matrix/Client/Requester.pm6
@@ -73,7 +73,7 @@ multi method post(Str $path, :$media = False, *%params) {
method post-bin(Str $path, Buf $buf, :$content-type) {
my $encoded-path = $path.subst('#', '%23');
my $req = POST(
- $.base-url(:media) ~ $encoded-path,
+ $.base-url() ~ $encoded-path,
content => $buf,
Content-Type => $content-type
);