mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-20 20:06:39 +00:00
used zod codemod
This commit is contained in:
@@ -13,12 +13,10 @@ import { verifySession } from "@server/auth/sessions/verifySession";
|
||||
import { usageService } from "@server/lib/billing/usageService";
|
||||
import { FeatureId } from "@server/lib/billing";
|
||||
|
||||
const acceptInviteBodySchema = z
|
||||
.object({
|
||||
const acceptInviteBodySchema = z.strictObject({
|
||||
token: z.string(),
|
||||
inviteId: z.string()
|
||||
})
|
||||
.strict();
|
||||
});
|
||||
|
||||
export type AcceptInviteResponse = {
|
||||
accepted: boolean;
|
||||
|
||||
Reference in New Issue
Block a user