(owner: Owner)
| 908 | const readOwners: readonly Owner[] = input.owner.subject == null ? ["org"] : ["user", "org"]; |
| 909 | |
| 910 | const ownerSubject = (owner: Owner): { owner: Owner; subject: string } | null => { |
| 911 | if (owner === "org") return { owner: "org", subject: ORG_SUBJECT }; |
| 912 | if (input.owner.subject == null) return null; |
| 913 | return { owner: "user", subject: String(input.owner.subject) }; |
| 914 | }; |
| 915 | |
| 916 | const tenant = String(input.owner.tenant); |
| 917 |
no outgoing calls
no test coverage detected