Skip to content
Snippets Groups Projects
Commit 831134e0 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

publish: remove file

generated from commit d9f03727
parent c4273ee5
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ async function start(fields, cozyParameters) {
const pointId = fields.pointId
let baseUrl = fields.wso2BaseUrl
let apiAuthKey = fields.apiToken
let contractId = fields.contractId
//TODO switch variable to english
let sgeLogin = fields.sgeLogin
log('info', 'Authenticating ...')
......@@ -81,6 +82,7 @@ async function start(fields, cozyParameters) {
log('debug', 'Found COZY_PARAMETERS')
baseUrl = cozyParameters.secret.wso2BaseUrl
apiAuthKey = cozyParameters.secret.apiToken
contractId = cozyParameters.secret.contractId
sgeLogin = cozyParameters.secret.sgeLogin
}
 
......@@ -116,7 +118,7 @@ async function start(fields, cozyParameters) {
baseUrl,
apiAuthKey,
sgeLogin,
fields.contractId,
contractId,
user.pointId
)
if (!serviceId) {
......@@ -124,7 +126,7 @@ async function start(fields, cozyParameters) {
baseUrl,
apiAuthKey,
sgeLogin,
fields.contractId,
contractId,
user.lastname,
user.pointId,
contractStartDate,
......@@ -157,7 +159,7 @@ async function start(fields, cozyParameters) {
baseUrl,
apiAuthKey,
sgeLogin,
fields.contractId,
contractId,
fields.pointId,
userConsent.serviceId
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment