mirror of
https://github.com/fosrl/pangolin.git
synced 2026-06-24 00:02:04 +00:00
Migrate unkown openapi response from string to {}
This commit is contained in:
@@ -66,7 +66,10 @@ async function queryInvitations(
|
||||
.from(userInviteRoles)
|
||||
.innerJoin(roles, eq(userInviteRoles.roleId, roles.roleId))
|
||||
.where(
|
||||
and(eq(roles.orgId, orgId), inArray(userInviteRoles.inviteId, inviteIds))
|
||||
and(
|
||||
eq(roles.orgId, orgId),
|
||||
inArray(userInviteRoles.inviteId, inviteIds)
|
||||
)
|
||||
);
|
||||
|
||||
const rolesByInvite = new Map<
|
||||
@@ -107,7 +110,7 @@ registry.registerPath({
|
||||
content: {
|
||||
"application/json": {
|
||||
schema: z.object({
|
||||
data: z.unknown().nullable(),
|
||||
data: z.record(z.string(), z.any()).nullable(),
|
||||
success: z.boolean(),
|
||||
error: z.boolean(),
|
||||
message: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user