Skip to content

Commit

Permalink
fix: cicd website test
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Mar 19, 2024
1 parent f7de815 commit 1ff71dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/frontendIntegration/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ff71dd

Please sign in to comment.