changign schema
This commit is contained in:
parent
b2b37c0675
commit
185ec78b49
4
lib/server-actions/events/cache/index.ts
vendored
4
lib/server-actions/events/cache/index.ts
vendored
@ -5,8 +5,8 @@ import { z } from "zod";
|
|||||||
const eventSchema = z.object({
|
const eventSchema = z.object({
|
||||||
identifier: z.string(),
|
identifier: z.string(),
|
||||||
name: z.string(),
|
name: z.string(),
|
||||||
description: z.string(),
|
description: z.string().optional(),
|
||||||
image: z.string(),
|
image: z.string().optional(),
|
||||||
});
|
});
|
||||||
|
|
||||||
export async function get(identifier: string) {
|
export async function get(identifier: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user