Skip to content

Commit

Permalink
fix proxy auth
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Mar 5, 2024
1 parent d697105 commit 9d5d762
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ozone/src/api/proxied.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function (server: Server, ctx: AppContext) {
})

server.app.bsky.actor.getProfiles({
auth: ctx.authVerifier.modOrRole,
auth: ctx.authVerifier.moderator,
handler: async (request) => {
const res = await ctx.appviewAgent.api.app.bsky.actor.getProfiles(
request.params,
Expand Down Expand Up @@ -59,7 +59,7 @@ export default function (server: Server, ctx: AppContext) {
})

server.app.bsky.feed.getFeedGenerator({
auth: ctx.authVerifier.modOrRole,
auth: ctx.authVerifier.moderator,
handler: async (request) => {
const res = await ctx.appviewAgent.api.app.bsky.feed.getFeedGenerator(
request.params,
Expand Down Expand Up @@ -101,7 +101,7 @@ export default function (server: Server, ctx: AppContext) {
})

server.app.bsky.graph.getList({
auth: ctx.authVerifier.modOrRole,
auth: ctx.authVerifier.moderator,
handler: async (request) => {
const res = await ctx.appviewAgent.api.app.bsky.graph.getList(
request.params,
Expand Down

0 comments on commit 9d5d762

Please sign in to comment.