Skip to content
Snippets Groups Projects
Commit 26adc38e authored by Rémi PAPIN's avatar Rémi PAPIN
Browse files

fix explo service

parent d2b157f9
No related branches found
No related tags found
1 merge request!202Features/us776 notifs exploration
...@@ -4,8 +4,9 @@ const axios = require('axios') ...@@ -4,8 +4,9 @@ const axios = require('axios')
const headers = { const headers = {
Accept: 'application/json', Accept: 'application/json',
Authorization: Authorization:
'Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhcHAiLCJpYXQiOjE2MTA5NzQ2NTcsImlzcyI6ImNvenkudG9vbHM6ODA4MCIsInN1YiI6ImVjb2x5byIsInNlc3Npb25faWQiOiI1MDdhZWM5Nzk2OTQ3ZTUyN2RmMjNkYTk4YjAwOTQyOCJ9.yY4Yo6ivG6tSQZD6vLAkViXLr7xDlHR4cRgisxygDAOa3xgE_s9HsAIOK3cnVpgtWX5EMDj7_DDSTwpafsH4EA',
Cookie: 'cozysessid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', Cookie:
'cozysessid=AAAAAF-gMKM1MDdhZWM5Nzk2OTQ3ZTUyN2RmMjNkYTk4YjAwOTQyOOlLByKqEpQO5ILG097miDWOPxgXVnPRr01p73w_YOv9',
'content-type': 'application/json', 'content-type': 'application/json',
} }
......
...@@ -201,7 +201,7 @@ export default class ExplorationService { ...@@ -201,7 +201,7 @@ export default class ExplorationService {
const challengeService = new ChallengeService(this._client) const challengeService = new ChallengeService(this._client)
switch (explorationID) { switch (explorationID) {
case 'EXPLORATION001': case 'EXPLORATION004':
//ECOLYO CONNEXION EXPLORATION //ECOLYO CONNEXION EXPLORATION
if ( if (
currentChallenge.exploration.progress + 1 < currentChallenge.exploration.progress + 1 <
...@@ -217,7 +217,7 @@ export default class ExplorationService { ...@@ -217,7 +217,7 @@ export default class ExplorationService {
UserChallengeUpdateFlag.EXPLORATION_NOTIFICATION UserChallengeUpdateFlag.EXPLORATION_NOTIFICATION
) )
} }
case 'EXPLORATION002': case 'EXPLORATION001':
//ECOGESTURE EXPLORATION //ECOGESTURE EXPLORATION
if ( if (
currentecogestureID && currentecogestureID &&
...@@ -228,7 +228,8 @@ export default class ExplorationService { ...@@ -228,7 +228,8 @@ export default class ExplorationService {
UserChallengeUpdateFlag.EXPLORATION_NOTIFICATION UserChallengeUpdateFlag.EXPLORATION_NOTIFICATION
) )
} }
case 'EXPLORATION004': case 'EXPLORATION002':
case 'EXPLORATION003':
case 'EXPLORATION005': case 'EXPLORATION005':
case 'EXPLORATION006': case 'EXPLORATION006':
// ACTION EXPLORATIONS // ACTION EXPLORATIONS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment