diff --git a/storage/dao/postgresql/database_postgresql_games.go b/storage/dao/postgresql/database_postgresql_games.go index 11bcde2..fd25660 100755 --- a/storage/dao/postgresql/database_postgresql_games.go +++ b/storage/dao/postgresql/database_postgresql_games.go @@ -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