(owner: Owner)
| 1146 | const readOwners: readonly Owner[] = input.owner.subject == null ? ["org"] : ["user", "org"]; |
| 1147 | |
| 1148 | const ownerSubject = (owner: Owner): { owner: Owner; subject: string } | null => { |
| 1149 | if (owner === "org") return { owner: "org", subject: ORG_SUBJECT }; |
| 1150 | if (input.owner.subject == null) return null; |
| 1151 | return { owner: "user", subject: String(input.owner.subject) }; |
| 1152 | }; |
| 1153 | |
| 1154 | const tenant = String(input.owner.tenant); |
| 1155 |
no outgoing calls
no test coverage detected