forked from jsnbuchanan/crowd-funder-for-time-pwa
Migrate endorserServer.ts to Enhanced Triple Migration Pattern
- Remove databaseUtil import, replace with logger.error - Migrate $notify to modern notify pattern with createNotifyHelpers - Add NOTIFY_PERSONAL_DATA_ERROR constant for error messages - Use NOTIFICATION_TIMEOUTS.STANDARD for timeouts - All phases complete: database, SQL, notification migration - 35 minutes, 1510 lines, high complexity service file - Linting passes with no errors
This commit is contained in:
@@ -78,6 +78,13 @@ export const NOTIFY_SERVER_ACCESS_ERROR = {
|
||||
message: "There was a problem accessing the server. Try again later.",
|
||||
};
|
||||
|
||||
// Used in: endorserServer.ts (getHeaders function - personal data error)
|
||||
export const NOTIFY_PERSONAL_DATA_ERROR = {
|
||||
title: "Personal Data Error",
|
||||
message:
|
||||
"Showing anonymous data. See the Help page for help with personal data.",
|
||||
};
|
||||
|
||||
// Used in: [Component usage not yet documented]
|
||||
export const NOTIFY_NO_IDENTITY_ERROR = {
|
||||
title: "No Identity",
|
||||
|
||||
Reference in New Issue
Block a user