mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-21 16:33:48 +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