-
-
Notifications
You must be signed in to change notification settings - Fork 857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SaveUserSettings returns "user_already_exists" if you follow docs typings #4076
Comments
(btw, why its mixing actual feed/lemmy/client settings with profile information) |
Related: #3565 |
Stale issue, feel free to reopen if its still a problem. |
This issue is absolutely still a problem. On https://voyager.lemmy.ml, sending a |
dessalines
added a commit
that referenced
this issue
Oct 21, 2023
…User update is null. - Fixes #4076 - Also upgrading api_test deps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Method docs shows that almost everything is optional, yet in reality if you don't include the entire object, it will return an error.
Payload:
{ "auth": <jwt token>, "show_nsfw": false }
result:
user_already_exists
Payload 2:
{ "show_nsfw": true, "theme": "browser", "default_sort_type": 1, "default_listing_type": 1, "interface_language": "browser", "discussion_languages": [], "avatar": <url>, "banner": null, "display_name": "name", "show_avatars": true, "bot_account": false, "show_bot_accounts": true, "show_scores": true, "show_read_posts": true, "show_new_post_notifs": false, "email": "email", "bio": "**this is** a test", "send_notifications_to_email": false, "matrix_user_id": null, "auth": "<JWT>" }
result:
all good
The text was updated successfully, but these errors were encountered: