|
const allowed = response.decisions[0]?.is; |
^ this seems to indicate we should only be asking for one decision per call to is even though the parameters support an array of decisions -- this diverges from the response documented here and seems to indicate either:
- the response should return all decisions
- or, this implementation of
is should only accept one decision rather than an array
topaz-node/src/authorizer/index.ts
Line 95 in 9cde450
^ this seems to indicate we should only be asking for one decision per call to
iseven though the parameters support an array of decisions -- this diverges from the response documented here and seems to indicate either:isshould only accept onedecisionrather than an array