diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2019-09-27 05:50:34 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-09-27 05:50:34 +0900 |
| commit | 42a14508f6ee3a9aef374e8a8695230b3839dcb2 (patch) | |
| tree | bb177c017fe1d95796593ea9fca2e639e1035a9b /src/server/activitypub/featured.ts | |
| parent | Update node version (diff) | |
| download | sharkey-42a14508f6ee3a9aef374e8a8695230b3839dcb2.tar.gz sharkey-42a14508f6ee3a9aef374e8a8695230b3839dcb2.tar.bz2 sharkey-42a14508f6ee3a9aef374e8a8695230b3839dcb2.zip | |
Update dependencies :rocket:
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 |