Skip to content

Commit

Permalink
fix(com-api): user-list route
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD authored and njfamirm committed May 18, 2023
1 parent fa357ed commit 4cccd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniquely/com-api/src/route/user-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {validateUserAuth} from '../lib/validate-user-auth.js';
import type {AlwatrDocumentStorage} from '@alwatr/type';
import type {ComUser} from '@alwatr/type/customer-order-management.js';

nanoServer.route<AlwatrDocumentStorage<ComUser>>('GET', '/user-list/', async (connection) => {
nanoServer.route<AlwatrDocumentStorage<ComUser>>('GET', '/user-list', async (connection) => {
logger.logMethod?.('get-user-list');

await validateUserAuth(connection.getUserAuth(), 'user-list/read');
Expand Down

0 comments on commit 4cccd35

Please sign in to comment.