@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.11 → 4.2.2-snapshot.12
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.
- package/CHANGELOG.md +1 -0
- package/diarynote.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/diarynote.js
CHANGED
|
@@ -31530,7 +31530,7 @@ var m0e = (() => {
|
|
|
31530
31530
|
this.http = w(Bl), this.authService = w(po).getInstance(), this.apiUrl = w(Gu).getEnvironmentVariable("apiUrl");
|
|
31531
31531
|
}
|
|
31532
31532
|
reportError(i) {
|
|
31533
|
-
return this.http.post(`${this.apiUrl}/
|
|
31533
|
+
return this.http.post(`${this.apiUrl}/v3/report/error`, i, { headers: { [Oo.userType]: Or.getUserType({ isProfessional: this.authService.isProfessional }), [Oo.clientType]: ek() ? Or.clientType.mobileApp : Or.clientType.webApp } });
|
|
31534
31534
|
}
|
|
31535
31535
|
};
|
|
31536
31536
|
t.ɵfac = function(i) {
|
|
@@ -31864,7 +31864,7 @@ var Y0e = (() => {
|
|
|
31864
31864
|
reportVidisError(i) {
|
|
31865
31865
|
let a = { backendTraceId: "", errorMessage: i.message, pageUrl: window.location.href, timestamp: this.formatDateWithZone() };
|
|
31866
31866
|
this.errorServiceSelector.getInstance().reportError(a).subscribe({ next: (r) => {
|
|
31867
|
-
(r == null ? void 0 : r.status) === "ok" ? this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast") : this.snackbarService.showError("commons.errors
|
|
31867
|
+
(r == null ? void 0 : r.status) === "ok" ? this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast") : this.snackbarService.showError("commons.errors.general");
|
|
31868
31868
|
}, error: () => {
|
|
31869
31869
|
this.snackbarService.showError("commons.errors.general");
|
|
31870
31870
|
} });
|