From 1b1ac1c8dd0f8496bdb15c180ced0f03aeccb951 Mon Sep 17 00:00:00 2001 From: Paolo Brasolin <paolo.brasolin@eurac.edu> Date: Wed, 23 Feb 2022 15:23:29 +0100 Subject: [PATCH] chore: lint --- backend/src/index.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 5d00344..a98b858 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -55,19 +55,19 @@ server.route({ //=[ CheckTranscription ]======================================================= const CheckTranscriptionBodySchema = { + type: "object", + properties: { + deltaTime: { type: "number" }, + refData: { type: "object", properties: { - deltaTime: { type: "number" }, - refData: { - type: "object", - properties: { - id: { type: "number" }, - image: { type: "string" }, - }, - required: ["id", "image"], - }, - transcription: { type: "string" }, + id: { type: "number" }, + image: { type: "string" }, }, + required: ["id", "image"], + }, + transcription: { type: "string" }, + }, required: ["deltaTime", "refData", "transcription"], } as const; -- GitLab