From 1ff71dd378620b62b783d58641b987e2936e3db8 Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Tue, 19 Mar 2024 13:19:52 +0530 Subject: [PATCH] fix: cicd website test --- test/frontendIntegration/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/frontendIntegration/main.go b/test/frontendIntegration/main.go index 8c6085f7..f8db483a 100644 --- a/test/frontendIntegration/main.go +++ b/test/frontendIntegration/main.go @@ -567,11 +567,11 @@ func login218(response http.ResponseWriter, request *http.Request) { legacyAccessToken := sessionResp.AccessToken.Token legacyRefreshToken := sessionResp.RefreshToken.Token - frontTokenJson := json.NewEncoder(response).Encode(map[string]interface{}{ + frontTokenJson := map[string]interface{}{ "uid": userID, "ate": session.GetCurrTimeInMS() + 3600000, "up": payload, - }) + } parsed, _ := json.Marshal(frontTokenJson) data := []byte(parsed)