Permalink
Browse files

😩

  • Loading branch information...
MrLeebo committed Sep 5, 2017
1 parent e4acd00 commit ce3cf1903623082ee10c86e53f4ee514222854ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/actionCreators.js
View
@@ -31,7 +31,7 @@ export function resourceActionCreators (baseUrl, resourceName, definition, optio
let idUsed = false
function getResourceUrl (data = {}) {
function getResult(val) {
function getResult (val) {
return (typeof val === 'function' && val.call(definition, { data, method })) || val
}

0 comments on commit ce3cf19

Please sign in to comment.