MCPcopy
hub / github.com/diegohaz/rest / apiWithDifferentUserField

Function apiWithDifferentUserField

test/index.js:115–122  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

113}
114
115function apiWithDifferentUserField(dir) {
116 console.log('apiWithDifferentUserField');
117 return api({
118 kebab: 'user-field',
119 userMethods: ['POST', 'PUT', 'DELETE'],
120 userField: 'author'
121 }, dir);
122}
123
124function apiWithOnlyPostUserMethod(dir) {
125 return api({

Callers 1

installFunction · 0.85

Calls 1

apiFunction · 0.85

Tested by

no test coverage detected