Skip to content

Commit

Permalink
Geoprocessing API: Adjust client routes
Browse files Browse the repository at this point in the history
* Update the client to call new geoprocessing routes for analyze and rwd
  • Loading branch information
Alice Rottersman committed Aug 28, 2017
1 parent 6254b12 commit 5d9b1dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mmw/js/src/analyze/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var LayerModel = Backbone.Model.extend({});
// Each layer returned from the analyze endpoint.
// Land, soil, etc.
var LayerCollection = Backbone.Collection.extend({
url: '/api/modeling/',
url: '/api/geoprocessing/',
model: LayerModel
});

Expand All @@ -28,7 +28,7 @@ var AnalyzeTaskModel = coreModels.TaskModel.extend({
area_of_interest: null,
wkaoi: null,
taskName: 'analyze',
taskType: 'modeling'
taskType: 'geoprocessing'
}, coreModels.TaskModel.prototype.defaults
),

Expand Down
2 changes: 1 addition & 1 deletion src/mmw/js/src/draw/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var ToolbarModel = Backbone.Model.extend({
var RwdTaskModel = coreModels.TaskModel.extend({
defaults: _.extend( {
taskName: 'rwd',
taskType: 'modeling'
taskType: 'geoprocessing'
}, coreModels.TaskModel.prototype.defaults
)
});
Expand Down

0 comments on commit 5d9b1dc

Please sign in to comment.