diff --git a/ui/app/adapters/job.js b/ui/app/adapters/job.js index 0e16fdcb4..eeba06522 100644 --- a/ui/app/adapters/job.js +++ b/ui/app/adapters/job.js @@ -47,11 +47,12 @@ export default Watchable.extend({ }, xhrKey(url, method, options = {}) { + const plainKey = this._super(...arguments); const namespace = options.data && options.data.namespace; if (namespace) { - return `${method} ${url}?namespace=${namespace}`; + return `${plainKey}?namespace=${namespace}`; } - return `${method} ${url}`; + return plainKey; }, relationshipFallbackLinks: {