backend: Update logging level and change export to const for recording validation schema
This commit is contained in:
parent
4ff00aad96
commit
caefdf704b
@ -28,7 +28,7 @@ export const getRecordings = async (req: Request, res: Response) => {
|
||||
const recordingService = container.get(RecordingService);
|
||||
const queryParams = req.query;
|
||||
|
||||
logger.info('Getting all recordings');
|
||||
logger.verbose('Getting all recordings');
|
||||
|
||||
try {
|
||||
const response = await recordingService.getAllRecordings(queryParams);
|
||||
|
||||
@ -26,7 +26,7 @@ const GetRecordingSchema = z.object({
|
||||
recordingId: nonEmptySanitizedString('recordingId')
|
||||
});
|
||||
|
||||
export const BulkDeleteRecordingsSchema = z.object({
|
||||
const BulkDeleteRecordingsSchema = z.object({
|
||||
recordingIds: z.preprocess(
|
||||
(arg) => {
|
||||
if (typeof arg === 'string') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user