User: use User.http.path
Use the new property introduced by a recent change in loopback-datasource-juggler instead of building the URL manually from pluralModelName.
This commit is contained in:
parent
7230890aa9
commit
54bff35fef
|
@ -240,7 +240,7 @@ User.prototype.verify = function (options, fn) {
|
||||||
options.protocol
|
options.protocol
|
||||||
+ '://'
|
+ '://'
|
||||||
+ options.host
|
+ options.host
|
||||||
+ (User.sharedCtor.http.path || '/' + User.pluralModelName)
|
+ User.http.path
|
||||||
+ User.confirm.http.path;
|
+ User.confirm.http.path;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue