Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
Pass parent code in GetMany
Browse files Browse the repository at this point in the history
  • Loading branch information
pardahlman committed Apr 21, 2017
1 parent b6cc39a commit 6d31476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Akeneo/Common/EndpointResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public string ForPagination<TModel>(int page = 1, int limit = 10, bool withCount

public string ForPagination<TModel>(string parentCode, int page = 1, int limit = 10, bool withCount = false) where TModel : ModelBase
{
var baseUrl = ForResourceType<TModel>();
var baseUrl = ForResourceType<TModel>(parentCode);
return $"{baseUrl}?page={page}&limit={limit}&with_count={withCount.ToString().ToLower()}";
}
}
Expand Down

0 comments on commit 6d31476

Please sign in to comment.