Skip to content

backend/finance: audit log changes for dashboard GET apis[WIP] - #130

Open
dhruv-1010 wants to merge 1 commit into
mainfrom
dashboard-get-api-audit-logs
Open

backend/finance: audit log changes for dashboard GET apis[WIP]#130
dhruv-1010 wants to merge 1 commit into
mainfrom
dashboard-get-api-audit-logs

Conversation

@dhruv-1010

Copy link
Copy Markdown
  • enabled dashboard GET API logging [WIP]

(Just ApiAuthV3 {}, GET) -> True
(Just ApiAuthV2 {}, _) -> True
(Just ApiAuthV3 {}, _) -> True
_ -> False

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be simplified, lines 103-104 are redundant

                case (apiT ^. authType, apiT ^. apiType) of
                  (Just ApiAuthV2 {}, _) -> True
                  (Just ApiAuthV3 {}, _) -> True
                  _ -> False

~* cE "Kernel.Prelude.Nothing"
~$ TH.doEW clientCall
(GET, False) -> clientCall
(_, False) -> clientCall

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also this case is redundant (GET, False) -> clientCall

@dhruv-1010
dhruv-1010 marked this pull request as ready for review March 5, 2026 08:19
@dhruv-1010
dhruv-1010 force-pushed the dashboard-get-api-audit-logs branch from b27a9e6 to 2b73255 Compare March 5, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants