mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 06:25:04 +00:00
mastoapi: Fixed bug in account searching.
This commit is contained in:
parent
96c75d9938
commit
69724220a4
1 changed files with 1 additions and 1 deletions
|
@ -2035,7 +2035,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
char *actor = NULL;
|
||||
char *user = NULL;
|
||||
|
||||
if (valid_status(webfinger_request(q, &actor, &user) && actor)) {
|
||||
if (valid_status(webfinger_request(q, &actor, &user)) && actor) {
|
||||
xs *actor_o = NULL;
|
||||
|
||||
if (valid_status(actor_request(&snac1, actor, &actor_o))) {
|
||||
|
|
Loading…
Reference in a new issue