(owner: Owner)
| 1155 | const readOwners: readonly Owner[] = input.owner.subject == null ? ["org"] : ["user", "org"]; |
| 1156 | |
| 1157 | const ownerSubject = (owner: Owner): { owner: Owner; subject: string } | null => { |
| 1158 | if (owner === "org") return { owner: "org", subject: ORG_SUBJECT }; |
| 1159 | if (input.owner.subject == null) return null; |
| 1160 | return { owner: "user", subject: String(input.owner.subject) }; |
| 1161 | }; |
| 1162 | |
| 1163 | const tenant = String(input.owner.tenant); |
| 1164 |
no outgoing calls
no test coverage detected