fix error where setting photo: null caused type error

This commit is contained in:
Brandon Egger 2023-08-24 10:22:12 -05:00
parent d7f5fae14a
commit 2be3d16365

View File

@ -67,6 +67,7 @@ export const auditoryResourceRouter = createTRPCRouter({
name: z.string(),
data: z.instanceof(Buffer),
})
.nullable()
.optional(),
platform_links: z
.array(