fix bug
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m55s

This commit is contained in:
2025-08-14 21:16:25 +07:00
parent 5fd665f005
commit 12aad00f2d
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ export type AvatarProfileStore = {
} }
export type AvatarStore = { export type AvatarStore = {
owner_uid: number; owner_uid?: number;
avatar_id: number; avatar_id: number;
data: AvatarDataStore; data: AvatarDataStore;
level: number; level: number;

View File

@@ -34,7 +34,7 @@ export const avatarProfileStoreSchema = z.object({
}); });
export const avatarStoreSchema = z.object({ export const avatarStoreSchema = z.object({
owner_uid: z.number(), owner_uid: z.number().optional(),
avatar_id: z.number(), avatar_id: z.number(),
data: avatarDataStoreSchema, data: avatarDataStoreSchema,
level: z.number(), level: z.number(),