File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,10 @@ Meteor.methods({
62
62
}
63
63
return apiUmbrellaWebResponse ;
64
64
} ,
65
- updateApiBackendOnApiUmbrella : function ( apiBackendForm ) {
65
+ updateApiBackendOnApiUmbrella : function ( apiUmbrellaBackendId , apiBackend ) {
66
66
// Construct an API Backend object for API Umbrella with one 'api' key
67
67
var constructedBackend = {
68
- "api" : apiBackendForm
68
+ "api" : apiBackend
69
69
} ;
70
70
71
71
// Response object to be send back to client layer.
@@ -77,7 +77,7 @@ Meteor.methods({
77
77
78
78
try {
79
79
// Send the API Backend to API Umbrella's endpoint for creation in the backend
80
- apiUmbrellaWebResponse . result = apiUmbrellaWeb . adminApi . v1 . apiBackends . updateApiBackend ( constructedBackend ) ;
80
+ apiUmbrellaWebResponse . result = apiUmbrellaWeb . adminApi . v1 . apiBackends . updateApiBackend ( apiUmbrellaBackendId , constructedBackend ) ;
81
81
} catch ( apiUmbrellaError ) {
82
82
83
83
//set the errors object
You can’t perform that action at this time.
0 commit comments