change method name of masto api

This commit is contained in:
cutestnekoaqua 2023-02-10 00:34:24 +01:00
parent fc8d328018
commit 77e836797b

View File

@ -8,7 +8,7 @@ function toLimitToInt(q: any) {
return q
}
export function apiNotificationMastodon(router: Router): void {
export function apiNotificationsMastodon(router: Router): void {
router.get('/v1/notifications', koaBody(), async (ctx) => {
const BASE_URL = `${ctx.request.protocol}://${ctx.request.hostname}`;