From 7b3b12987bc1570c06bf8383aa6c5270052cb258 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Fri, 4 Nov 2022 03:29:21 +0300 Subject: [PATCH] Add session id to fake game --- sessionUtils/sessionUtils.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sessionUtils/sessionUtils.go b/sessionUtils/sessionUtils.go index aefb32a..ee16afa 100644 --- a/sessionUtils/sessionUtils.go +++ b/sessionUtils/sessionUtils.go @@ -16,12 +16,13 @@ func ConvertServerSessionsToJSON(s Session) []byte { var FakeSessions = Sessions{ Sessions: []Session{ { - GameId: "garrysmod", - Icon: "", - Title: "Regular Skirda Gmod server", - Status: "Super fake session", - Version: "", - Expires: time.Time{}, + GameId: "garrysmod", + SessionId: "gmod-test", + Icon: "", + Title: "Regular Skirda Gmod server", + Status: "Super fake session", + Version: "", + Expires: time.Time{}, Arguments: []gameUtils.Argument{ { Body: "+connect",