change method name of masto api

This commit is contained in:
cutestnekoaqua 2023-02-10 00:34:24 +01:00
parent 7b9e6a8032
commit 42f9d6eb5a
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 1 additions and 1 deletions

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}`;