This commit is contained in:
@@ -11,6 +11,6 @@ export async function registerAdminLookupRoutes(app, options) {
|
||||
}
|
||||
});
|
||||
|
||||
app.get('/lookups/categories', async () => ({ data: catalogLookupRepository.listCategories() }));
|
||||
app.get('/lookups/conditions', async () => ({ data: catalogLookupRepository.listConditions() }));
|
||||
app.get('/lookups/categories', async () => ({ data: await catalogLookupRepository.listCategories() }));
|
||||
app.get('/lookups/conditions', async () => ({ data: await catalogLookupRepository.listConditions() }));
|
||||
}
|
||||
Reference in New Issue
Block a user