Skip to content

Commit

Permalink
Merge pull request #70 from agiledev-students-fall2023/register-service
Browse files Browse the repository at this point in the history
Added Service Register
  • Loading branch information
r8btx authored Nov 21, 2023
2 parents 4020937 + 4547fa9 commit 073f0a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion front-end/src/utils/serviceRegister.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ function saveTokenToServer(currentToken) {
}

export function registerService() {
localStorage.acronymId = acronymId;
localStorage.serviceEndpointHome = SERVICE_HOME_URL;
localStorage.serviceEndpointSub = SERVICE_SUB_URL;
localStorage.agencyId = acronymId;
checkSoftwareVersion().then(savePseudoTokenToServer);
}

0 comments on commit 073f0a9

Please sign in to comment.