(owner: Owner)
| 1433 | const readOwners: readonly Owner[] = input.owner.subject == null ? ["org"] : ["user", "org"]; |
| 1434 | |
| 1435 | const ownerSubject = (owner: Owner): { owner: Owner; subject: string } | null => { |
| 1436 | if (owner === "org") return { owner: "org", subject: ORG_SUBJECT }; |
| 1437 | if (input.owner.subject == null) return null; |
| 1438 | return { owner: "user", subject: String(input.owner.subject) }; |
| 1439 | }; |
| 1440 | |
| 1441 | const tenant = String(input.owner.tenant); |
| 1442 |
no outgoing calls
no test coverage detected