Skip to content

Commit

Permalink
[keyserver] rename napi add_reserved_usernames function
Browse files Browse the repository at this point in the history
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

Reviewers: ashoat, jon

Reviewed By: jon

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8533
  • Loading branch information
vdhanan committed Jul 18, 2023
1 parent c383d78 commit eabd321
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::*;

#[napi]
#[instrument(skip_all)]
pub async fn add_reserved_username(
pub async fn add_reserved_usernames(
message: String,
signature: String,
) -> Result<()> {
Expand Down

0 comments on commit eabd321

Please sign in to comment.