Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
argonaut
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fusiondirectory
argonaut
Commits
21dd7363
Commit
21dd7363
authored
May 28, 2019
by
Côme Chilliet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🚑
fix(WorkflowUpdate) Fix errors from last commit
issue
#5745
parent
2379ded7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
argonaut-fusiondirectory/Argonaut/Libraries/WorkflowUpdate.pm
...naut-fusiondirectory/Argonaut/Libraries/WorkflowUpdate.pm
+3
-3
No files found.
argonaut-fusiondirectory/Argonaut/Libraries/WorkflowUpdate.pm
View file @
21dd7363
...
...
@@ -29,7 +29,7 @@ use warnings;
use
5.008
;
use
Argonaut::Libraries::
FusionDirectoryWebService
qw(argonaut_get_rest_client)
;
use
Argonaut::Libraries::
FusionDirectoryWebService
qw(argonaut_get_rest_client
argonaut_parse_rest_error
)
;
use
JSON
;
...
...
@@ -105,12 +105,12 @@ sub argonaut_supann_update_states {
if
(
$updateNeeded
)
{
$client
->
PUT
('
/objects/user/
'
.
$dn
.
'
/supannAccountStatus/supannRessourceEtatDate
',
encode_json
(
$supannRessourceEtatDateNewValues
));
if
(
$client
->
responseCode
()
ne
'
200
')
{
die
('
Request to REST API failed:
'
.
$client
->
responseCode
()
.
'
-
'
.
argonaut_parse_rest_error
(
$client
));
die
('
Request to REST API failed:
'
.
$client
->
responseCode
()
.
'
-
'
.
argonaut_parse_rest_error
(
$client
)
.
"
\n
"
);
}
}
}
}
else
{
die
('
Request to REST API failed:
'
.
$client
->
responseCode
()
.
'
-
'
.
argonaut_parse_rest_error
(
$client
));
die
('
Request to REST API failed:
'
.
$client
->
responseCode
()
.
'
-
'
.
argonaut_parse_rest_error
(
$client
)
.
"
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment