summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index db45919..3b51906 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -3319,7 +3319,7 @@ int mastoapi_patch_handler(const xs_dict *req, const char *q_path,
3319 } 3319 }
3320 3320
3321 /* Persist profile */ 3321 /* Persist profile */
3322 if (user_persist(&snac) == 0) 3322 if (user_persist(&snac, 1) == 0)
3323 credentials_get(body, ctype, &status, snac); 3323 credentials_get(body, ctype, &status, snac);
3324 else 3324 else
3325 status = HTTP_STATUS_INTERNAL_SERVER_ERROR; 3325 status = HTTP_STATUS_INTERNAL_SERVER_ERROR;