From 7c35227cb0c374b0de7cff816e83590f9c3c164a Mon Sep 17 00:00:00 2001 From: Andres Uribe Gonzalez Date: Wed, 7 Aug 2024 11:12:00 -0400 Subject: [PATCH] Fix the lint. --- src/handlers/records-write.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handlers/records-write.ts b/src/handlers/records-write.ts index e32427416..b0cc667bc 100644 --- a/src/handlers/records-write.ts +++ b/src/handlers/records-write.ts @@ -162,10 +162,10 @@ export class RecordsWriteHandler implements MethodHandler { throw error; } - const messageReply = { + const messageReply = { status: (newMessageIsInitialWrite && dataStream !== undefined) ? - { code: 204, detail: 'No Content' } : - { code: 202, detail: 'Accepted' } + { code: 204, detail: 'No Content' } : + { code: 202, detail: 'Accepted' } }; // delete all existing messages of the same record that are not newest, except for the initial write