Skip to content

Commit

Permalink
Merge pull request #259 from UTDNebula/fix-api-permissions
Browse files Browse the repository at this point in the history
private -> public listed officer api
  • Loading branch information
nl32 authored Nov 6, 2024
2 parents dd1a4ba + 439237b commit 9606371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/routers/club.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export const clubRouter = createTRPCRouter({
});
return officers;
}),
getListedOfficers: protectedProcedure
getListedOfficers: publicProcedure
.input(byIdSchema)
.query(async ({ input, ctx }) => {
const officers = await ctx.db.query.officers.findMany({
Expand Down

0 comments on commit 9606371

Please sign in to comment.