Fix function name

Signed-off-by: Raffi Tamizian <r.tamizian@gmail.com>
This commit is contained in:
Raffi Tamizian
2022-07-25 16:32:19 +01:00
parent 75bfc7317d
commit 6b6f48aa6a
+2 -2
View File
@@ -207,7 +207,7 @@ of lower-level calls:
```ts
// File: packages/backend/src/plugins/auth.ts
import { getDefaultOwnershipRefs } from '@backstage/plugin-auth-backend';
import { getDefaultOwnershipEntityRefs } from '@backstage/plugin-auth-backend';
export default async function createPlugin(
// ...
@@ -236,7 +236,7 @@ export default async function createPlugin(
// an entity you will need to replace this step as well.
//
// You might also replace it if you for example want to filter out certain groups.
const ownershipRefs = getDefaultOwnershipRefs(entity);
const ownershipRefs = getDefaultOwnershipEntityRefs(entity);
// The last step is to issue the token, where we might provide more options in the future.
return ctx.issueToken({