mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 03:43:07 +02:00
upd: add empty return on trends/links
This commit is contained in:
parent
98389114a8
commit
c18efe0042
1 changed files with 5 additions and 0 deletions
|
@ -221,6 +221,11 @@ export class MastodonApiServerService {
|
|||
}
|
||||
});
|
||||
|
||||
fastify.get('/v1/trends/links', async (_request, reply) => {
|
||||
// As we do not have any system for news/links this will just return empty
|
||||
reply.send([]);
|
||||
});
|
||||
|
||||
fastify.post('/v1/apps', async (_request, reply) => {
|
||||
const BASE_URL = `${_request.protocol}://${_request.hostname}`;
|
||||
const client = getClient(BASE_URL, ''); // we are using this here, because in private mode some info isnt
|
||||
|
|
Loading…
Reference in a new issue