mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 16:53:37 +00:00
Minor webfinger tweak.
This commit is contained in:
parent
8c53411a00
commit
bde5748a6e
1 changed files with 5 additions and 1 deletions
|
@ -82,7 +82,11 @@ int webfinger_request_signed(snac *snac, const char *qs, xs_str **actor, xs_str
|
|||
|
||||
if (obj == NULL && valid_status(status) && payload) {
|
||||
obj = xs_json_loads(payload);
|
||||
|
||||
if (obj)
|
||||
object_add(cached_qs, obj);
|
||||
else
|
||||
status = HTTP_STATUS_BAD_REQUEST;
|
||||
}
|
||||
|
||||
if (obj) {
|
||||
|
|
Loading…
Reference in a new issue