mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
Lost in merge
This commit is contained in:
parent
06869b2676
commit
78b7825c16
|
|
@ -22,7 +22,7 @@ func NewSyncServerDatabase(dataSourceName string) (*SyncServerDatabase, error) {
|
|||
return nil, err
|
||||
}
|
||||
partitions := common.PartitionOffsetStatements{}
|
||||
if err := partitions.Prepare(db); err != nil {
|
||||
if err = partitions.Prepare(db); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &SyncServerDatabase{db, partitions}, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue