From fb78dd0c7d3e6a9885a44e83370bde3b22db6e5d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 21:49:29 -0500 Subject: [PATCH] chore(CE): Add resource link to audit logs serializer (#541) Co-authored-by: TivonB-AI2 <124182151+TivonB-AI2@users.noreply.github.com> --- server/app/serializers/audit_logs_serializer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app/serializers/audit_logs_serializer.rb b/server/app/serializers/audit_logs_serializer.rb index ba97db58..95dc9a6b 100644 --- a/server/app/serializers/audit_logs_serializer.rb +++ b/server/app/serializers/audit_logs_serializer.rb @@ -2,8 +2,8 @@ # app/serializers/audit_logs_serializer.rb class AuditLogsSerializer < ActiveModel::Serializer - attributes :id, :user_id, :user_name, :action, :resource_type, :resource_id, :resource, :workspace_id, - :metadata, :created_at, :updated_at + attributes :id, :user_id, :user_name, :action, :resource_type, :resource_id, :resource, :resource_link, + :workspace_id, :metadata, :created_at, :updated_at def user_name object.user&.name