Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix(base-repository-service): Chenage run mockUpdate to mockCreate in…
Browse files Browse the repository at this point in the history
… create method
  • Loading branch information
EndyKaufman committed Oct 30, 2017
1 parent 85d8452 commit b8505b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class BaseRepositoryService extends BaseRemoteRepositoryService {
return this.validateError(item);
}
if (this._mockedItems !== null) {
return this.mockUpdate(item);
return this.mockCreate(item);
}
return this.remoteCreate(item);
}
Expand Down

0 comments on commit b8505b4

Please # to comment.