Skip to content

Commit

Permalink
added metadata_version check
Browse files Browse the repository at this point in the history
  • Loading branch information
schaier-io committed Jan 26, 2025
1 parent a88764c commit f850baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/cardano-registry/cardano-registry.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const metadataSchema = z.object({
unit: z.string().min(1).or(z.array(z.string().min(1)))
})).min(1),
image: z.string().or(z.array(z.string())),
metadata_version: z.number({ coerce: true }).int().min(1)
metadata_version: z.number({ coerce: true }).int().min(1).max(1)
})
const deleteMutex = new Sema(1);
export async function updateDeregisteredCardanoRegistryEntries() {
Expand Down

0 comments on commit f850baf

Please sign in to comment.