Skip to content

Commit

Permalink
primary genre only exists on drop level
Browse files Browse the repository at this point in the history
  • Loading branch information
GregTCLTK committed Jan 22, 2024
1 parent b63e10f commit 4c10770
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export const song = zod.object({
isrc: zod.string().optional(),
title: userString,
artists: artist.array().refine(x => x.some(([ , , type ]) => type == "PRIMARY"), { message: "At least one primary artist is required" }),
primaryGenre: zod.string(),
secondaryGenre: zod.string(),
year: zod.number(),
country: zod.string(),
Expand Down

0 comments on commit 4c10770

Please sign in to comment.