(dir)
| 113 | } |
| 114 | |
| 115 | function 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 | |
| 124 | function apiWithOnlyPostUserMethod(dir) { |
| 125 | return api({ |