Skip to content

Commit

Permalink
Merge pull request #401 from supertokens/cicd-fix
Browse files Browse the repository at this point in the history
fix: cicd website test
  • Loading branch information
rishabhpoddar authored Mar 19, 2024
2 parents f7de815 + 1ff71dd commit f581384
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 f581384

Please sign in to comment.