Skip to content

Fix null parameters in UserUpdateReq#378

Merged
giarc3 merged 2 commits into
mainfrom
fix-user-update-req
May 6, 2026
Merged

Fix null parameters in UserUpdateReq#378
giarc3 merged 2 commits into
mainfrom
fix-user-update-req

Conversation

@giarc3
Copy link
Copy Markdown
Member

@giarc3 giarc3 commented May 6, 2026

Existing struct serializes on user_disable_self to

{
  "status": 0,
  "userPrivateKey": null
}

which the server then acts on by setting the user's private key to NULL.

This change will make it serialize to

{
  "status": 0
}

which will make the server leave the user's private key unchanged.

@giarc3 giarc3 requested a review from coltfred May 6, 2026 18:27
@giarc3 giarc3 merged commit bf10e97 into main May 6, 2026
20 checks passed
@giarc3 giarc3 deleted the fix-user-update-req branch May 6, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants