Skip to content

Commit

Permalink
fix: history in entries linkt not found SDK-61
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-scherzinger committed Jun 8, 2018
1 parent 73d81e8 commit a8f6f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/publicAPI/EntryResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ class EntryResource extends LiteEntryResource {
*/
newHistory(options?: filterOptions): Promise<any> {
return Promise.resolve()
.then(() => this.newRequest().follow('ec:model/dm-entryHistory'))
.then(() => this.newRequest().follow('ec:entry/dm-entryHistory'))
.then(request => {
if (options) {
request.withTemplateParameters(optionsToQuery(options));
Expand All @@ -638,7 +638,7 @@ class EntryResource extends LiteEntryResource {
*/
getPastEvents(options?: filterOptions): Promise<any> {
return Promise.resolve()
.then(() => this.newRequest().follow('ec:model/dm-entryHistory'))
.then(() => this.newRequest().follow('ec:entry/dm-entryHistory'))
.then((request) => {
if (options) {
request.withTemplateParameters(optionsToQuery(options));
Expand Down

0 comments on commit a8f6f60

Please sign in to comment.