Skip to content

Commit 107b7d3

Browse files
committed
Fix slug test
1 parent e9602d4 commit 107b7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/RelistenAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class RelistenAPI {
1010

1111
// Validate artist slug format
1212
private static isValidArtistSlug(slug: string): boolean {
13-
return /^[a-z-]+$/i.test(slug);
13+
return /^[a-z-\d]+$/i.test(slug);
1414
}
1515

1616
// Generic cached fetch method

0 commit comments

Comments
 (0)