update referral link schema

This commit is contained in:
Kirill Litvinov
2024-01-30 11:57:27 +03:00
parent 301b38f9aa
commit fab7417e02
4 changed files with 5 additions and 5 deletions

View File

@@ -3,8 +3,8 @@ import { z } from 'zod';
const inviteCodeLinkSchema = z.object({
link: z
.object({
status: z.string(),
referer: z.string(),
ref_link: z.string(),
})
.nullable(),
invite: z

View File

@@ -1,8 +1,8 @@
import { z } from 'zod';
const linkSchema = z.object({
status: z.string(),
referer: z.string(),
ref_link: z.string(),
});
export default linkSchema;