aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/postgres/syncserver.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-09-01 16:58:21 +0100
committerGitHub <noreply@github.com>2020-09-01 16:58:21 +0100
commita9f4d83d30a1305842af594702cc4f99d24f276e (patch)
tree080da17f0c0dc1bf0a9c2af0d82fac9da37fd1f0 /syncapi/storage/postgres/syncserver.go
parent89c772fb782361bf4cb533ae7287f7d1dea947f6 (diff)
Fix duplicate writers (#1376)
* Fix writers * Don't use writers in both shared and sqlite3
Diffstat (limited to 'syncapi/storage/postgres/syncserver.go')
-rw-r--r--syncapi/storage/postgres/syncserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/postgres/syncserver.go b/syncapi/storage/postgres/syncserver.go
index 36e8de67..e7f2c944 100644
--- a/syncapi/storage/postgres/syncserver.go
+++ b/syncapi/storage/postgres/syncserver.go
@@ -80,7 +80,7 @@ func NewDatabase(dbProperties *config.DatabaseOptions) (*SyncServerDatasource, e
}
d.Database = shared.Database{
DB: d.db,
- Writer: sqlutil.NewDummyWriter(),
+ Writer: d.writer,
Invites: invites,
AccountData: accountData,
OutputEvents: events,