Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix falsely failing user id check
  • Loading branch information
regalijan committed Feb 28, 2024
1 parent 16617ec commit 6f2d91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/events-team/team-members/user.ts
Expand Up @@ -13,7 +13,7 @@ export async function onRequestDelete(context: RequestContext) {

if (
typeof id !== "string" ||
id.search(/\D/) ||
id.match(/\D/) ||
id.length > 19 ||
id.length < 17
)
Expand Down

0 comments on commit 6f2d91f

Please sign in to comment.