permission-common: accept configApi in PermissionClient constructor
Moving the responsibility of pulling the right configuration key inside the PermissionClient keeps it as the responsibility of permission-common, whereas putting it on the outside means anyone constructing a PermissionClient has to know which key to use. Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
"url": "https://github.com/backstage/backstage/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/config": "^0.1.11",
|
||||
"@backstage/errors": "^0.1.2",
|
||||
"cross-fetch": "^3.0.6",
|
||||
"uuid": "^8.0.0",
|
||||
|
||||
Reference in New Issue
Block a user