authz: fix expected response type for /apply-conditions route
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user