Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Jan 16, 2024
1 parent 9f7c7b6 commit 6730633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Shared/Services/Api.service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1454,9 +1454,9 @@ export class ApiService {
if (!suppressNotifications) {
try {
const body = JSON.parse(detail).data.reason;
this.notifications.danger(`${title}`, body);
this.notifications.danger(title, body);
} catch {
this.notifications.danger(`${title}`, detail);
this.notifications.danger(title, detail);
}
}
});
Expand Down

0 comments on commit 6730633

Please sign in to comment.