mirror of
https://github.com/matrix-construct/construct
synced 2025-01-01 02:14:13 +01:00
ircd:Ⓜ️:error: Unquote the returned strings.
This commit is contained in:
parent
43e36861cc
commit
cf0196d374
1 changed files with 2 additions and 2 deletions
|
@ -6063,7 +6063,7 @@ const noexcept
|
|||
this->http::error::content
|
||||
};
|
||||
|
||||
return content.get("error");
|
||||
return unquote(content.get("error"));
|
||||
}
|
||||
|
||||
ircd::string_view
|
||||
|
@ -6075,5 +6075,5 @@ const noexcept
|
|||
this->http::error::content
|
||||
};
|
||||
|
||||
return content.get("errcode", "M_UNKNOWN"_sv);
|
||||
return unquote(content.get("errcode", "M_UNKNOWN"_sv));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue