mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd:Ⓜ️:fed: Remove legacy trailing slash on key/server request.
This commit is contained in:
parent
bb84740517
commit
cd6eb8ed0a
1 changed files with 2 additions and 2 deletions
|
@ -1429,13 +1429,13 @@ ircd::m::fed::key::keys::keys(const server_key &server_key,
|
|||
{
|
||||
json::get<"uri"_>(opts.request) = fmt::sprintf
|
||||
{
|
||||
buf, "/_matrix/key/v2/server/%s/",
|
||||
buf, "/_matrix/key/v2/server/%s",
|
||||
key_id
|
||||
};
|
||||
|
||||
consume(buf, size(json::get<"uri"_>(opts.request)));
|
||||
}
|
||||
else json::get<"uri"_>(opts.request) = "/_matrix/key/v2/server/";
|
||||
else json::get<"uri"_>(opts.request) = "/_matrix/key/v2/server";
|
||||
}
|
||||
|
||||
return request
|
||||
|
|
Loading…
Reference in a new issue