Notification updates
This commit is contained in:
@@ -243,7 +243,8 @@ export class AdminRepository {
|
||||
action: row.action,
|
||||
resourceType: row.resource_type,
|
||||
resourceId: row.resource_id,
|
||||
context: row.context ? JSON.parse(row.context) : undefined,
|
||||
// JSONB columns are automatically parsed by pg driver - no JSON.parse needed
|
||||
context: row.context || undefined,
|
||||
createdAt: new Date(row.created_at),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user