(owner: Owner)
| 1185 | const readOwners: readonly Owner[] = input.owner.subject == null ? ["org"] : ["user", "org"]; |
| 1186 | |
| 1187 | const ownerSubject = (owner: Owner): { owner: Owner; subject: string } | null => { |
| 1188 | if (owner === "org") return { owner: "org", subject: ORG_SUBJECT }; |
| 1189 | if (input.owner.subject == null) return null; |
| 1190 | return { owner: "user", subject: String(input.owner.subject) }; |
| 1191 | }; |
| 1192 | |
| 1193 | const tenant = String(input.owner.tenant); |
| 1194 |
no outgoing calls
no test coverage detected