Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Small tweaks
x0322055b36f082e4d3
diff --git a/backend/src/services/notification/notification-service.ts b/backend/src/services/notification/notification-service.tsindex 673d02a5ee..5e0f96add8 100644--- a/backend/src/services/notification/notification-service.ts+++ b/backend/src/services/notification/notification-service.ts@@ -51,8 +51,7 @@ export const notificationServiceFactory = ({await userNotificationDAL.update({id: notificationId,- userId,- isRead: false+ userId},{isRead: truediff --git a/backend/src/services/notification/notification-types.ts b/backend/src/services/notification/notification-types.tsindex ecf3cafcd9..2ac65cf381 100644--- a/backend/src/services/notification/notification-types.ts+++ b/backend/src/services/notification/notification-types.ts@@ -2,17 +2,6 @@ export enum NotificationType {ACCESS_APPROVAL_REQUEST = "access-approval-request"}-export interface TUserNotification {- id: string;- userId: string;- type: string;- title: string;- body?: string | null;- link?: string | null;- isRead: boolean;- createdAt: Date;-}-export interface TCreateUserNotificationDTO {userId: string;type: NotificationType;diff --git a/frontend/src/hooks/api/notifications/types.ts b/frontend/src/hooks/api/notifications/types.tsindex 8d5663a7c0..97552046c7 100644--- a/frontend/src/hooks/api/notifications/types.ts+++ b/frontend/src/hooks/api/notifications/types.ts@@ -6,5 +6,5 @@ export interface TUserNotification {body?: string | null;link?: string | null;isRead: boolean;- createdAt: Date;+ createdAt: string;}