diff options
Diffstat (limited to 'src/server/activitypub/featured.ts')
| -rw-r--r-- | src/server/activitypub/featured.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/activitypub/featured.ts b/src/server/activitypub/featured.ts index dae72f16b6..32871416d2 100644 --- a/src/server/activitypub/featured.ts +++ b/src/server/activitypub/featured.ts @@ -1,4 +1,4 @@ -import * as Router from 'koa-router'; +import * as Router from '@koa/router'; import config from '../../config'; import { renderActivity } from '../../remote/activitypub/renderer'; import renderOrderedCollection from '../../remote/activitypub/renderer/ordered-collection'; @@ -7,7 +7,7 @@ import renderNote from '../../remote/activitypub/renderer/note'; import { Users, Notes, UserNotePinings } from '../../models'; import { ensure } from '../../prelude/ensure'; -export default async (ctx: Router.IRouterContext) => { +export default async (ctx: Router.RouterContext) => { const userId = ctx.params.user; // Verify user |