aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/actors/updater.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/activitypub/actors/updater.ts')
-rw-r--r--server/lib/activitypub/actors/updater.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/activitypub/actors/updater.ts b/server/lib/activitypub/actors/updater.ts
index 73bdf1edc..5a92e7a22 100644
--- a/server/lib/activitypub/actors/updater.ts
+++ b/server/lib/activitypub/actors/updater.ts
@@ -52,11 +52,11 @@ export class APActorUpdater {
52 logger.info('Remote account %s updated', this.actorObject.url) 52 logger.info('Remote account %s updated', this.actorObject.url)
53 } catch (err) { 53 } catch (err) {
54 if (this.actor !== undefined) { 54 if (this.actor !== undefined) {
55 resetSequelizeInstance(this.actor) 55 await resetSequelizeInstance(this.actor)
56 } 56 }
57 57
58 if (this.accountOrChannel !== undefined) { 58 if (this.accountOrChannel !== undefined) {
59 resetSequelizeInstance(this.accountOrChannel) 59 await resetSequelizeInstance(this.accountOrChannel)
60 } 60 }
61 61
62 // This is just a debug because we will retry the insert 62 // This is just a debug because we will retry the insert