Skip to content

Commit f834dd4

Browse files
committed
New Changes
1 parent ab183b0 commit f834dd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const getNoteByIdHandler = (request, h) => {
6363

6464
const response = h.response({
6565
status: 'fail',
66-
message: 'Cannot found any notes!',
66+
message: 'Cannot found any note!',
6767
});
6868

6969
response.code(404);
@@ -128,7 +128,7 @@ const deleteNoteByIdHandler = (request, h) => {
128128

129129
const response = h.response({
130130
status: 'fail',
131-
message: 'Cannot delete note!'
131+
message: 'Cannot found any note!'
132132
});
133133

134134
response.code(404);

0 commit comments

Comments
 (0)