Skip to content
Snippets Groups Projects
Unverified Commit 5cc3d3c8 authored by woxtu's avatar woxtu Committed by GitHub
Browse files

Remove an unnecessary type assertion (#12666)

parent 41785277
No related branches found
No related tags found
No related merge requests found
......@@ -493,8 +493,7 @@ export class ActivityPubServerService {
@bindThis
public createServer(fastify: FastifyInstance, options: FastifyPluginOptions, done: (err?: Error) => void) {
// addConstraintStrategy の型定義がおかしいため
(fastify.addConstraintStrategy as any)({
fastify.addConstraintStrategy({
name: 'apOrHtml',
storage() {
const store = {} as any;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment