mirror of
https://github.com/status-im/status-go.git
synced 2025-02-01 17:38:36 +00:00
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…
x
Reference in New Issue
Block a user