feat: add create self service user (#1251)

Fixes: #1234
This commit is contained in:
Benura Abeywardena
2020-10-16 20:50:39 +05:30
committed by GitHub
parent 862fb62b26
commit e3b7f5799d
11 changed files with 268 additions and 4 deletions
+8
View File
@@ -355,4 +355,12 @@ export class ClientsService {
createNewSurvey(surveyId: Number, surveyData: any) {
return this.http.post(`/surveys/scorecards/${surveyId}`, surveyData);
}
/**
* @param userData User Data.
*/
createSelfServiceUser(userData: any) {
return this.http.post(`/users`, userData);
}
}