mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
[mastodon-client] Fix /v2/suggestions endpoint (undocumented API behavior strikes again)
This commit is contained in:
parent
e49d168ecd
commit
3399187302
@ -70,7 +70,7 @@ export function setupEndpointsMisc(router: Router): void {
|
||||
);
|
||||
|
||||
router.get("/v2/suggestions",
|
||||
auth(true, ['read']),
|
||||
auth(true, ['read:accounts']),
|
||||
async (ctx) => {
|
||||
const args = limitToInt(ctx.query);
|
||||
ctx.body = await MiscHelpers.getFollowSuggestions(args.limit, ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user