diff options
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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; |