add missing path property handling
This commit is contained in:
@@ -98,7 +98,7 @@ func (db *DatabaseFake) UpdateUser(user *model.User) error {
|
||||
func (db *DatabaseFake) GetUsersByGoogleID(userID string) (*model.User, error) {
|
||||
users := db.loadUsers()
|
||||
for _, u := range users {
|
||||
if u.GoogleId == userID {
|
||||
if u.GoogleID == userID {
|
||||
return u, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user