(owner: Owner)
| 1527 | const readOwners: readonly Owner[] = input.owner.subject == null ? ["org"] : ["user", "org"]; |
| 1528 | |
| 1529 | const ownerSubject = (owner: Owner): { owner: Owner; subject: string } | null => { |
| 1530 | if (owner === "org") return { owner: "org", subject: ORG_SUBJECT }; |
| 1531 | if (input.owner.subject == null) return null; |
| 1532 | return { owner: "user", subject: String(input.owner.subject) }; |
| 1533 | }; |
| 1534 | |
| 1535 | const tenant = String(input.owner.tenant); |
| 1536 |
no outgoing calls
no test coverage detected