Error code standardization
This commit is contained in:
@@ -26,7 +26,7 @@ type FriendUser struct {
|
||||
|
||||
func NewFriendDB(db *gorm.DB) *Friend {
|
||||
var friend Friend
|
||||
friend.DB = initModel(db, friend)
|
||||
friend.DB = db
|
||||
return &friend
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user