I don't know what to write...)))

This commit is contained in:
2021-10-15 02:37:04 +03:00
parent 1912baeeab
commit f43cbe6f70
3 changed files with 20 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ import { addNote } from './methods/post.js'
import { notesIndex, getSingleNote, getStats } from './methods/get.js'
import { editNote } from './methods/patch.js'
import { deleteNote } from './methods/delete.js'
import { id as validate } from '../services/ValidationService.js'
import validate from '../services/ValidationService.js'
import { idOnlySchema, newNoteSchema, updateNoteSchema } from '../repositories/schema.js'
import { setResp403 } from '../helpers/http.js'