fix: add missing var name
This commit is contained in:
@@ -11,7 +11,7 @@ func (db *DatabasePostgreSQL) GetAllGames() ([]*model.Game, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (db *DatabasePostgreSQL) GetGameById(string) (*model.Game, error) {
|
||||
func (db *DatabasePostgreSQL) GetGameById(id string) (*model.Game, error) {
|
||||
q := `
|
||||
SELECT g.id, g.server_id, g.user_id, g.created_at, g.updated_at
|
||||
FROM public.game g
|
||||
|
||||
Reference in New Issue
Block a user