Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
.search -> .match
  • Loading branch information
regalijan committed Dec 31, 2023
1 parent e2669cc commit dcd749d
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 @@ -26,7 +26,7 @@ export async function onRequestPost(context: RequestContext) {

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

0 comments on commit dcd749d

Please sign in to comment.