Page MenuHomePhabricator

[keyserver] rename napi add_reserved_usernames function
ClosedPublic

Authored by varun on Jul 18 2023, 12:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 3:09 AM
Unknown Object (File)
Sat, Nov 9, 6:59 AM
Unknown Object (File)
Oct 11 2024, 1:12 PM
Unknown Object (File)
Oct 11 2024, 1:12 PM
Unknown Object (File)
Oct 11 2024, 1:11 PM
Unknown Object (File)
Oct 11 2024, 1:09 PM
Unknown Object (File)
Sep 6 2024, 9:34 PM
Unknown Object (File)
Sep 6 2024, 12:34 PM
Subscribers

Details

Summary

accidentally renamed addReservedUsername -> addReservedUsernames in JS without making the corresponding change to the rust function name.

i think i missed this when i split out D8300 into multiple diffs. should've tested more thoroughly after splitting and rebasing

Test Plan

Registered a new user and saw the new username (albert) in my reserved usernames DDB table

Also deleted albert's account and saw that the username was removed from the table

2023-07-18T19:29:13.715822Z INFO identity::database: Batch write item to reserved usernames table succeeded
2023-07-18T19:30:51.876524Z INFO identity::database: Username albert has been deleted from reserved usernames table

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable