forked from mirror/misskey
refactor(ApQuestionService.ts
): eslint-disable-next-line
This commit is contained in:
parent
778585e288
commit
fcc60421e2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user