Update plugins/catalog-backend/src/service/createRouter.ts
Co-authored-by: Kashish Mittal <113269381+04kash@users.noreply.github.com> Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
@@ -329,13 +329,13 @@ export async function createRouter(
|
||||
credentials: await httpAuth.credentials(req),
|
||||
});
|
||||
|
||||
writeSingleEntityResponse(res, entities, `No entity with uid ${uid}`);
|
||||
|
||||
await auditorEvent?.success({
|
||||
meta: {
|
||||
entities: entities,
|
||||
},
|
||||
});
|
||||
|
||||
writeSingleEntityResponse(res, entities, `No entity with uid ${uid}`);
|
||||
} catch (err) {
|
||||
await auditorEvent?.fail({
|
||||
error: err,
|
||||
|
||||
Reference in New Issue
Block a user