mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +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",
|
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 New Issue
Block a user