fix(Communities): correct query params order when updating community
settings Turns out `UpdateCommunitySettings()` has never worked. Two parameters where in the wrong order, cause the SQL statement to never find the row it has to update.
This commit is contained in:
parent
5b941cab0c
commit
b2dce92f3f
|
@ -686,8 +686,8 @@ func (p *Persistence) UpdateCommunitySettings(communitySettings CommunitySetting
|
|||
WHERE community_id = ?`,
|
||||
communitySettings.HistoryArchiveSupportEnabled,
|
||||
communitySettings.HistoryArchiveSupportEnabled,
|
||||
communitySettings.CommunityID,
|
||||
communitySettings.Clock,
|
||||
communitySettings.CommunityID,
|
||||
)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue