authz: fix expected response type for /apply-conditions route

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
Mike Lewis
2021-11-11 13:58:28 +00:00
parent 652af0834a
commit 64b6ff368f
@@ -116,7 +116,9 @@ export const createPermissionIntegration = <
'/permissions/apply-conditions',
async (
req,
res: Response<Omit<AuthorizeResult, AuthorizeResult.CONDITIONAL>>,
res: Response<{
result: Omit<AuthorizeResult, AuthorizeResult.CONDITIONAL>;
}>,
) => {
// TODO(authorization-framework): validate input
const body = req.body as ApplyConditionsRequest;