✨ add gorm update create hook
This commit is contained in:
@@ -122,6 +122,7 @@ func HandelUserLogin(userId string) (bool, map[string]interface{}) {
|
||||
"data": data,
|
||||
"success": true,
|
||||
}
|
||||
global.DB.Set("user_id", userId)
|
||||
return true, responseData
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user