Skip to content

Commit

Permalink
fix canProxyRead updated usage
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Aug 18, 2023
1 parent 1780afb commit cf1cd06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function (server: Server, ctx: AppContext) {
const requester =
auth.credentials.type === 'access' ? auth.credentials.did : null

if (ctx.canProxyRead(req)) {
if (await ctx.canProxyRead(req, requester)) {
const res = await ctx.appviewAgent.api.app.bsky.feed.getActorLikes(
params,
requester
Expand Down

0 comments on commit cf1cd06

Please sign in to comment.