@noatgnu/cupcake-core 1.2.4 → 1.2.5

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.
@@ -594,7 +594,7 @@ class ApiService {
594
594
  return this.http.get(`${this.apiUrl}/users/${id}/`);
595
595
  }
596
596
  createUser(userData) {
597
- return this.http.post(`${this.apiUrl}/users/admin_create/`, userData);
597
+ return this.post(`${this.apiUrl}/users/admin_create/`, userData);
598
598
  }
599
599
  updateUser(id, userData) {
600
600
  return this.http.patch(`${this.apiUrl}/users/${id}/`, userData);