Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Aug 23, 2024
1 parent 2c13baf commit 63505a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/backend/src/api/handlers/getAuthProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export const getAuthProject: CreateAPIHandler = ({ get }) => {
);

// We have remote content access if the installation is the main app
const hasRemoteContentAcess = Boolean(
const hasRemoteContentAccess = Boolean(
installation && installation.app === "main",
);

res.send({
id: req.authProject.id,
defaultBaseBranch: referenceBranch,
hasRemoteContentAcess,
hasRemoteContentAccess,
});
});
};
2 changes: 1 addition & 1 deletion apps/backend/src/api/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const serverError = createErrorResponse("Server error");
const Project = z.object({
id: z.string(),
defaultBaseBranch: z.string(),
hasRemoteContentAcess: z.boolean(),
hasRemoteContentAccess: z.boolean(),
});

const Build = z
Expand Down

0 comments on commit 63505a3

Please sign in to comment.