File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " aor-loopback" ,
3- "version" : " 1.0.3 " ,
3+ "version" : " 1.0.4 " ,
44 "description" : " Loopback-style REST Client for Admin-on-rest, the frontend framework for building admin applications on top of REST services" ,
55 "main" : " lib/index.js" ,
66 "scripts" : {
3333 "bugs" : {
3434 "url" : " https://github.com/kimkha/aor-loopback/issues"
3535 },
36- "homepage" : " https://github.com/kimkha/aor-loopback#readme" ,
37- "dependencies" : {
38- "lodash-inflection" : " ^1.5.0"
39- }
36+ "homepage" : " https://github.com/kimkha/aor-loopback#readme"
4037}
Original file line number Diff line number Diff line change 1- import * as _i from 'lodash-inflection' ;
21import { queryParameters , fetchJson } from './fetch' ;
32import {
43 GET_LIST ,
@@ -30,7 +29,7 @@ export default (apiUrl, httpClient = fetchJson) => {
3029 * @returns {Object } { url, options } The HTTP request parameters
3130 */
3231 const convertRESTRequestToHTTP = ( type , resource , params ) => {
33- resource = _i . pluralize ( resource ) . toLowerCase ( ) ;
32+ resource = resource . toLowerCase ( ) ;
3433 let url = '' ;
3534 const options = { } ;
3635 switch ( type ) {
You can’t perform that action at this time.
0 commit comments