mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Add __v and __id
This commit is contained in:
@@ -38,7 +38,12 @@ export const sanitizedServiceTokenUserSchema = UsersSchema.pick({
|
||||
firstName: true,
|
||||
lastName: true,
|
||||
mfaMethods: true
|
||||
});
|
||||
}).merge(
|
||||
z.object({
|
||||
__v: z.number().default(0),
|
||||
_id: z.string()
|
||||
})
|
||||
);
|
||||
|
||||
export const secretRawSchema = z.object({
|
||||
id: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user