Merge branch '12552-slurm-priority'
[arvados.git] / apps / workbench / app / assets / javascripts / arvados_client.js
index b3f18ad65b21d0cd4223d088b79a68c888aa2c37..478dc2901fd42a9d76a848b4c37d03eb3e9851f2 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
 angular.
     module('Arvados', []).
     service('ArvadosClient', ArvadosClient);
@@ -22,7 +26,7 @@ function ArvadosClient(arvadosApiToken, arvadosDiscoveryUri) {
             var meth = discoveryDoc.resources[controller].methods[action];
             var data = $.extend({}, params, {_method: meth.httpMethod});
             $.each(data, function(k, v) {
-                if (typeof(v) == 'object') {
+                if (typeof(v) === 'object') {
                     data[k] = JSON.stringify(v);
                 }
             });