File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ export default class Data {
151
151
const limit = parseInt ( req . query . limit , 10 ) || 10 ;
152
152
const offset = parseInt ( req . query . offset , 10 ) || 0 ;
153
153
154
+ // todo: migrate to ee.data.listImages?
154
155
// Load the collection
155
156
let ic = this . ee . ImageCollection ( id ) ;
156
157
@@ -219,7 +220,7 @@ export default class Data {
219
220
}
220
221
221
222
// Limit
222
- const icList = ic . toList ( limit + 1 , offset )
223
+ const icList = ic . toList ( limit + 1 , offset ) ;
223
224
224
225
// Retrieve the items
225
226
let items ;
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export default class JobsAPI {
143
143
token : req . params . token
144
144
} ;
145
145
146
- await this . getJobRultsByQuery ( query , true , req , res ) ;
146
+ await this . getJobResultsByQuery ( query , true , req , res ) ;
147
147
}
148
148
149
149
async getJobResults ( req , res ) {
@@ -153,7 +153,7 @@ export default class JobsAPI {
153
153
_id : req . params . job_id ,
154
154
user_id : req . user . _id
155
155
} ;
156
- await this . getJobRultsByQuery ( query , false , req , res ) ;
156
+ await this . getJobResultsByQuery ( query , false , req , res ) ;
157
157
}
158
158
159
159
async deleteJobResults ( req , res ) {
@@ -175,7 +175,7 @@ export default class JobsAPI {
175
175
res . send ( 204 ) ;
176
176
}
177
177
178
- async getJobRultsByQuery ( query , publish , req , res ) {
178
+ async getJobResultsByQuery ( query , publish , req , res ) {
179
179
const job = await this . storage . findJob ( query ) ;
180
180
const partial = typeof req . query . partial !== 'undefined' ;
181
181
if ( job . status === 'error' ) {
You can’t perform that action at this time.
0 commit comments