Skip to content

Commit

Permalink
Name updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Aug 2, 2024
1 parent ada9f1f commit 8d191d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/BaseEntityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export default abstract class BaseEntityService extends HttpSession {

public invoke<T extends IClrEntity>(m: IModel<T>, method: IModel<T>["schema"]["methods"][number],entity: IClrEntity, ... args: any[]) {
return this.postJson({
url: `${this.url}invoke/${entity.$type}/${name}`,
url: `${this.url}invoke/${entity.$type}/${method}`,
method: "POST",
body: {
entity,
Expand Down

0 comments on commit 8d191d5

Please sign in to comment.