Function
notFound
(storeUser && (userMethods.indexOf('PUT') !== -1 || userMethods.indexOf('DELETE') !== -1))
Source from the content-addressed store, hash-verified
| 1 | <%_ if (generateModel && methods.length) { _%> |
| 2 | import { success, notFound<% if (storeUser && (userMethods.indexOf('PUT') !== -1 || userMethods.indexOf('DELETE') !== -1)) { %>, authorOrAdmin<% } %> } from '../../services/response/' |
| 3 | import { <%= pascal %> } from '.' |
| 4 | <%_ } _%> |
| 5 | <%_ if (methods.indexOf('POST') !== -1) { _%> |
Tested by
no test coverage detected