Skip to content

Commit 2ae0c12

Browse files
committed
lint: use this.services instead of global here
This is the last error for the mandatory eslint rules. Now we can put a rule into place so that CI always fails when there's an undefined variable, which I think is pretty cool.
1 parent 57da19e commit 2ae0c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/src/services/drivers/DriverService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ class DriverService extends BaseService {
524524
? method_spec.result_choices[0].type
525525
: method_spec.result.type
526526
;
527-
const svc_coercion = services.get('coercion');
527+
const svc_coercion = this.services.get('coercion');
528528
result = await svc_coercion.coerce(desired_type, result);
529529
}
530530
return result;

0 commit comments

Comments
 (0)