[mastodon-client] Fix /v2/suggestions endpoint (undocumented API behavior strikes again)
This commit is contained in:
parent
e49d168ecd
commit
3399187302
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export function setupEndpointsMisc(router: Router): void {
|
||||||
);
|
);
|
||||||
|
|
||||||
router.get("/v2/suggestions",
|
router.get("/v2/suggestions",
|
||||||
auth(true, ['read']),
|
auth(true, ['read:accounts']),
|
||||||
async (ctx) => {
|
async (ctx) => {
|
||||||
const args = limitToInt(ctx.query);
|
const args = limitToInt(ctx.query);
|
||||||
ctx.body = await MiscHelpers.getFollowSuggestions(args.limit, ctx);
|
ctx.body = await MiscHelpers.getFollowSuggestions(args.limit, ctx);
|
||||||
|
|
Loading…
Reference in a new issue