Skip to content

Commit 66ae38b

Browse files
committed
Fix linter issues
1 parent 1fbe4f1 commit 66ae38b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DataSource.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class DataSource extends DataSourceApi<JsonApiQuery, JsonApiDataSourceOpt
3232
const fields = query.fields
3333
.filter(field => field.jsonPath)
3434
.map(field => {
35-
const values = JSONPath( { path: field.jsonPath, json: response } );
35+
const values = JSONPath({ path: field.jsonPath, json: response });
3636

3737
// Get the path for automatic setting of the field name.
3838
//
@@ -70,7 +70,7 @@ export class DataSource extends DataSourceApi<JsonApiQuery, JsonApiDataSourceOpt
7070
if (!query.jsonPath) {
7171
return [];
7272
}
73-
return JSONPath( { path: query.jsonPath, json: await this.api.get() } ).map((_: any) => ({ text: _ }));
73+
return JSONPath({ path: query.jsonPath, json: await this.api.get() }).map((_: any) => ({ text: _ }));
7474
}
7575

7676
/**

0 commit comments

Comments
 (0)