Merge pull request #390 from libnare/uqc-202310272331

fix(backend): update question count
This commit is contained in:
NoriDev 2023-10-28 02:22:57 +09:00 committed by GitHub
commit b359fe5866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -794,10 +794,10 @@ export class ApInboxService {
if (isActor(object)) {
await this.apPersonService.updatePerson(actor.uri, resolver, object);
return 'ok: Person updated';
} /*else if (getApType(object) === 'Question') {
} else if (getApType(object) === 'Question') {
await this.apQuestionService.updateQuestion(object, resolver).catch(err => console.error(err));
return 'ok: Question updated';
}*/ else if (getApType(object) === 'Note' || getApType(object) === 'Question') {
} else if (getApType(object) === 'Note') {
await this.updateNote(resolver, actor, object, false, activity);
return 'ok: Note updated';
} else {