(owner: Owner)
| 1308 | const readOwners: readonly Owner[] = input.owner.subject == null ? ["org"] : ["user", "org"]; |
| 1309 | |
| 1310 | const ownerSubject = (owner: Owner): { owner: Owner; subject: string } | null => { |
| 1311 | if (owner === "org") return { owner: "org", subject: ORG_SUBJECT }; |
| 1312 | if (input.owner.subject == null) return null; |
| 1313 | return { owner: "user", subject: String(input.owner.subject) }; |
| 1314 | }; |
| 1315 | |
| 1316 | const tenant = String(input.owner.tenant); |
| 1317 |
no outgoing calls
no test coverage detected