1
0
forked from mirror/misskey

refactor(ApQuestionService.ts): eslint-disable-next-line

This commit is contained in:
okayurisotto 2023-07-03 07:10:47 +09:00
parent 778585e288
commit fcc60421e2

View File

@ -31,6 +31,7 @@ export class ApQuestionService {
@bindThis
public async extractPollFromQuestion(source: string | IObject, resolver?: Resolver): Promise<IPoll> {
// eslint-disable-next-line no-param-reassign
if (resolver == null) resolver = this.apResolverService.createResolver();
const question = await resolver.resolve(source);