mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix bug
This commit is contained in:
parent
1f8c2ba8c5
commit
d57729d3d7
@ -3,7 +3,7 @@ package im_mysql_model
|
||||
import "Open_IM/pkg/common/db"
|
||||
|
||||
func SetClientInitConfig(m map[string]interface{}) error {
|
||||
result := db.DB.MysqlDB.DefaultGormDB().Model(&db.ClientInitConfig{}).Updates(m)
|
||||
result := db.DB.MysqlDB.DefaultGormDB().Model(&db.ClientInitConfig{}).Where("1=1").Updates(m)
|
||||
if result.Error != nil {
|
||||
return result.Error
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user