@solidpepper/solidpepper-service 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6447,7 +6447,7 @@ class UsersService {
|
|
|
6447
6447
|
/* ========================================================================
|
|
6448
6448
|
CREATE
|
|
6449
6449
|
======================================================================== */
|
|
6450
|
-
createUser(login, password, profileguid, language, active, email) {
|
|
6450
|
+
createUser(login, password, profileguid, language, active, email, firstName = '', lastName = '') {
|
|
6451
6451
|
let headers = this._settingsService.getHeaders();
|
|
6452
6452
|
let options = { headers: headers };
|
|
6453
6453
|
return this.http.post(this._settingsService.getSettings('apiUrl') + 'Users', {
|
|
@@ -6457,6 +6457,8 @@ class UsersService {
|
|
|
6457
6457
|
userLanguage: language,
|
|
6458
6458
|
userIsActive: active,
|
|
6459
6459
|
userEmail: email,
|
|
6460
|
+
userFirstName: firstName,
|
|
6461
|
+
userLastName: lastName,
|
|
6460
6462
|
}, options);
|
|
6461
6463
|
}
|
|
6462
6464
|
uploadProfilePicture(formData, login) {
|