Skip to content

Commit

Permalink
Added todos for refactor later
Browse files Browse the repository at this point in the history
  • Loading branch information
ScarletRedMan committed Jan 12, 2024
1 parent 5c71ab0 commit 70ca0f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ResponseEntity<LinkUsersWithRoomResponse> linkUserWithRoom(@PathVariable(name =
}

var list = new LinkedList<User>();
for (var username: userIds.split(",")) {
for (var username: userIds.split(",")) { // TODO: create warnings about invalid usernames
if (!NamingValidator.validateUserId(username)) continue;

list.add(new User(username));
Expand All @@ -82,7 +82,7 @@ ResponseEntity<?> unlinkUsersForBucket(@PathVariable(name = "nodeId") String nod
room = temp.room();

var list = new LinkedList<User>();
for (var username: userIds.split(",")) {
for (var username: userIds.split(",")) { // TODO: create warnings about invalid usernames
if (!NamingValidator.validateUserId(username)) continue;

list.add(new User(username));
Expand Down

0 comments on commit 70ca0f8

Please sign in to comment.