Skip to content

Commit

Permalink
Fix the lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
andresuribe87 committed Aug 7, 2024
1 parent d38f87b commit 7c35227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/handlers/records-write.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c35227

Please sign in to comment.