in the middle of party-user frontend,
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
// 2. Validates input data shape
|
||||
//
|
||||
|
||||
//
|
||||
|
||||
import { logger } from 'src/utils/logger';
|
||||
import { STATUS, response, handleError } from 'src/utils/response';
|
||||
|
||||
@@ -28,7 +26,7 @@ export async function GET() {
|
||||
|
||||
logger('[User] list', partyUsers.length);
|
||||
|
||||
return response({ users: partyUsers }, STATUS.OK);
|
||||
return response({ partyUsers }, STATUS.OK);
|
||||
} catch (error) {
|
||||
return handleError('Product - Get list', error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user