mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-15 01:16:38 +00:00
Merge dev into fix/log-analytics-adjustments
This commit is contained in:
@@ -49,9 +49,7 @@ export async function removeUserFromResource(
|
||||
next: NextFunction
|
||||
): Promise<any> {
|
||||
try {
|
||||
const parsedBody = removeUserFromResourceBodySchema.safeParse(
|
||||
req.body
|
||||
);
|
||||
const parsedBody = removeUserFromResourceBodySchema.safeParse(req.body);
|
||||
if (!parsedBody.success) {
|
||||
return next(
|
||||
createHttpError(
|
||||
@@ -133,4 +131,3 @@ export async function removeUserFromResource(
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user