mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-06 01:28:46 +00:00
feat: enhance custom notification handling and schema
- Updated the custom notification type to include an array of headers, allowing for more flexible header management. - Removed the obsolete KeyValueInput component, streamlining the notification settings interface. - Adjusted the database schema to support JSONB for headers in the custom table, improving data handling. - Enhanced the notification testing functionality to accommodate the new headers structure. - Updated related API endpoints and utility functions to reflect these changes.
This commit is contained in:
@@ -573,7 +573,7 @@ export const notificationRouter = createTRPCRouter({
|
||||
} catch (error) {
|
||||
throw new TRPCError({
|
||||
code: "BAD_REQUEST",
|
||||
message: "Error testing the notification",
|
||||
message: `${error instanceof Error ? error.message : "Unknown error"}`,
|
||||
cause: error,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user