Skip to content

Commit 3e1e774

Browse files
authored
Fixing issue #260
Route was missing `:id` for `exists` method
1 parent e167da8 commit 3e1e774

File tree

1 file changed

+1
-1
lines changed
  • lib/angular2/shared/services/core

1 file changed

+1
-1
lines changed

lib/angular2/shared/services/core/base.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export abstract class BaseLoopBackApi {
180180
LoopBackConfig.getPath(),
181181
LoopBackConfig.getApiVersion(),
182182
this.model.getModelDefinition().plural,
183-
'exists'
183+
':id/exists'
184184
].join('/'), { id }, undefined, undefined);
185185
}
186186
/**

0 commit comments

Comments
 (0)