@@ -18,7 +18,7 @@ export default function (server: Server, ctx: AppContext) {
1818 } )
1919
2020 server . app . bsky . actor . getProfiles ( {
21- auth : ctx . authVerifier . moderator ,
21+ auth : ctx . authVerifier . modOrAdminToken ,
2222 handler : async ( request ) => {
2323 const res = await ctx . appviewAgent . api . app . bsky . actor . getProfiles (
2424 request . params ,
@@ -32,7 +32,7 @@ export default function (server: Server, ctx: AppContext) {
3232 } )
3333
3434 server . app . bsky . feed . getAuthorFeed ( {
35- auth : ctx . authVerifier . moderator ,
35+ auth : ctx . authVerifier . modOrAdminToken ,
3636 handler : async ( request ) => {
3737 const res = await ctx . appviewAgent . api . app . bsky . feed . getAuthorFeed (
3838 request . params ,
@@ -60,7 +60,7 @@ export default function (server: Server, ctx: AppContext) {
6060 } )
6161
6262 server . app . bsky . feed . getPostThread ( {
63- auth : ctx . authVerifier . moderator ,
63+ auth : ctx . authVerifier . modOrAdminToken ,
6464 handler : async ( request ) => {
6565 const res = await ctx . appviewAgent . api . app . bsky . feed . getPostThread (
6666 request . params ,
@@ -88,7 +88,7 @@ export default function (server: Server, ctx: AppContext) {
8888 } )
8989
9090 server . app . bsky . graph . getFollows ( {
91- auth : ctx . authVerifier . moderator ,
91+ auth : ctx . authVerifier . modOrAdminToken ,
9292 handler : async ( request ) => {
9393 const res = await ctx . appviewAgent . api . app . bsky . graph . getFollows (
9494 request . params ,
@@ -102,7 +102,7 @@ export default function (server: Server, ctx: AppContext) {
102102 } )
103103
104104 server . app . bsky . graph . getFollowers ( {
105- auth : ctx . authVerifier . moderator ,
105+ auth : ctx . authVerifier . modOrAdminToken ,
106106 handler : async ( request ) => {
107107 const res = await ctx . appviewAgent . api . app . bsky . graph . getFollowers (
108108 request . params ,
@@ -116,7 +116,7 @@ export default function (server: Server, ctx: AppContext) {
116116 } )
117117
118118 server . app . bsky . graph . getList ( {
119- auth : ctx . authVerifier . moderator ,
119+ auth : ctx . authVerifier . modOrAdminToken ,
120120 handler : async ( request ) => {
121121 const res = await ctx . appviewAgent . api . app . bsky . graph . getList (
122122 request . params ,
@@ -130,7 +130,7 @@ export default function (server: Server, ctx: AppContext) {
130130 } )
131131
132132 server . app . bsky . graph . getLists ( {
133- auth : ctx . authVerifier . moderator ,
133+ auth : ctx . authVerifier . modOrAdminToken ,
134134 handler : async ( request ) => {
135135 const res = await ctx . appviewAgent . api . app . bsky . graph . getLists (
136136 request . params ,
@@ -212,7 +212,7 @@ export default function (server: Server, ctx: AppContext) {
212212 } )
213213
214214 server . app . bsky . graph . getStarterPack ( {
215- auth : ctx . authVerifier . moderator ,
215+ auth : ctx . authVerifier . modOrAdminToken ,
216216 handler : async ( request ) => {
217217 const res = await ctx . appviewAgent . api . app . bsky . graph . getStarterPack (
218218 request . params ,
@@ -226,7 +226,7 @@ export default function (server: Server, ctx: AppContext) {
226226 } )
227227
228228 server . app . bsky . graph . getStarterPacks ( {
229- auth : ctx . authVerifier . moderator ,
229+ auth : ctx . authVerifier . modOrAdminToken ,
230230 handler : async ( request ) => {
231231 const res = await ctx . appviewAgent . api . app . bsky . graph . getStarterPacks (
232232 request . params ,
@@ -240,7 +240,7 @@ export default function (server: Server, ctx: AppContext) {
240240 } )
241241
242242 server . app . bsky . graph . getActorStarterPacks ( {
243- auth : ctx . authVerifier . moderator ,
243+ auth : ctx . authVerifier . modOrAdminToken ,
244244 handler : async ( request ) => {
245245 const res =
246246 await ctx . appviewAgent . api . app . bsky . graph . getActorStarterPacks (
@@ -255,7 +255,7 @@ export default function (server: Server, ctx: AppContext) {
255255 } )
256256
257257 server . app . bsky . feed . getLikes ( {
258- auth : ctx . authVerifier . moderator ,
258+ auth : ctx . authVerifier . modOrAdminToken ,
259259 handler : async ( request ) => {
260260 const res = await ctx . appviewAgent . api . app . bsky . feed . getLikes (
261261 request . params ,
0 commit comments