summaryrefslogtreecommitdiff
path: root/web/src/containers/autohold/autoholdModal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/containers/autohold/autoholdModal.jsx')
-rw-r--r--web/src/containers/autohold/autoholdModal.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/containers/autohold/autoholdModal.jsx b/web/src/containers/autohold/autoholdModal.jsx
index 522d8639b..5d4ff5208 100644
--- a/web/src/containers/autohold/autoholdModal.jsx
+++ b/web/src/containers/autohold/autoholdModal.jsx
@@ -64,7 +64,7 @@ const AutoholdModal = props => {
let ah_change = change === '' ? null : change
let ah_ref = changeRef === '' ? null : changeRef
- autohold(tenant.apiPrefix, project, job_name, ah_change, ah_ref, reason, parseInt(count), parseInt(nodeHoldExpiration), user.token)
+ autohold(tenant.apiPrefix, project, job_name, ah_change, ah_ref, reason, parseInt(count), parseInt(nodeHoldExpiration))
.then(() => {
/* TODO it looks like there is a delay in the registering of the autohold request
by the backend, meaning we sometimes do not get the newly created request after
@@ -209,4 +209,4 @@ AutoholdModal.propTypes = {
export default connect((state) => ({
tenant: state.tenant,
user: state.user,
-}))(AutoholdModal) \ No newline at end of file
+}))(AutoholdModal)