[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-04-03 20:30:20 +00:00
committed by GitHub
parent 06b18aca08
commit 4030049ee8
4 changed files with 8 additions and 24 deletions

View File

@@ -71,9 +71,7 @@ export const gitProviderRouter = createTRPCRouter({
allForPermissions: withPermission("member", "update")
.use(async ({ ctx, next }) => {
const licensed = await hasValidLicense(
ctx.session.activeOrganizationId,
);
const licensed = await hasValidLicense(ctx.session.activeOrganizationId);
if (!licensed) {
throw new TRPCError({
code: "FORBIDDEN",
@@ -90,10 +88,7 @@ export const gitProviderRouter = createTRPCRouter({
providerType: true,
},
orderBy: desc(gitProvider.createdAt),
where: eq(
gitProvider.organizationId,
ctx.session.activeOrganizationId,
),
where: eq(gitProvider.organizationId, ctx.session.activeOrganizationId),
});
}),