From 576a8e341b4c20cb222f9574fb71d94f810c9de6 Mon Sep 17 00:00:00 2001 From: Roland Schilter Date: Tue, 6 Oct 2015 16:33:04 +0200 Subject: [PATCH] fix typo in README --- doc/API-mapping.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/API-mapping.md b/doc/API-mapping.md index d081bccb..090a760e 100644 --- a/doc/API-mapping.md +++ b/doc/API-mapping.md @@ -132,7 +132,7 @@ myApp.config(['RestangularProvider', function(RestangularProvider) { RestangularProvider.addFullRequestInterceptor(function(element, operation, what, url, headers, params, httpConfig) { if (operation == 'getList' && what == 'entityName') { params.offset = (params._page - 1) * params._perPage; - params.end = params._perPage; + params.limit = params._perPage; delete params._page; delete params._perPage; }