Skip to content

Commit f19f5dc

Browse files
committed
Return this for chaining
1 parent c62f83b commit f19f5dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/security/User.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ User.prototype.setCredentials = function (credentials) {
7171
}
7272

7373
this.credentials = credentials;
74+
75+
return this;
7476
};
7577

7678
/**

0 commit comments

Comments
 (0)