fix: remove stripe metadata and more logos (#11489)
This commit is contained in:
1 parent
f414428dfe
commit
0d653afd0c
7 files changed
+27
-30
No files matched your search
@@ -18,6 +18,7 @@ export const getHandler = async ({ ctx, input }: GetOptions) => {
|
||||
const team = await getTeamWithMembers({
|
||||
id: input.teamId,
|
||||
userId: ctx.user.organization?.isOrgAdmin ? undefined : ctx.user.id,
|
||||
includeTeamLogo: input.includeTeamLogo,
|
||||
});
|
||||
|
||||
if (!team) {
|
||||
|
||||
@@ -2,6 +2,7 @@ import { z } from "zod";
|
||||
|
||||
export const ZGetInputSchema = z.object({
|
||||
teamId: z.number(),
|
||||
includeTeamLogo: z.boolean().optional(),
|
||||
});
|
||||
|
||||
export type TGetInputSchema = z.infer<typeof ZGetInputSchema>;
|
||||
Reference in new issue
Block a user