fix: update user sessions after avatar or primary domain change (#3768)

This commit is contained in:
Livio Amstutz
2022-06-03 12:37:24 +00:00
committed by GitHub
parent 0baaaf8a05
commit da1f74fde0
6 changed files with 118 additions and 10 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func PrepareGetByQuery(table string, queries ...SearchQuery) func(db *gorm.DB, r
}
}
err := query.Take(res).Error
err := query.Debug().Take(res).Error
if err == nil {
return nil
}