From 0d814788c0093d55d89116cf7c773d073515d079 Mon Sep 17 00:00:00 2001 From: Jeffrey Duroyon Date: Mon, 11 May 2020 01:05:54 +0200 Subject: [PATCH] fix: add missing var name --- storage/dao/postgresql/database_postgresql_games.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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