fix: Wrong avatars shown in webhooks page (#19386)

* fix: Wrong avatars shown in webhooks page

* Fix teams showing wrong avatar

* Fix type error

* Remove unused function arguments

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
Anwar SadathandAnik Dhabal Babu authored and GitHub committed 2025-02-24 08:02:57 +00:00
1 parent 42e94cd5b7
commit 2089ad40ea
2 files changed
+8 -9

No files matched your search

@@ -35,7 +35,6 @@ export type WebhooksByViewer = {
export const getByViewerHandler = async ({ ctx }: GetByViewerOptions) => {
return await WebhookRepository.getAllWebhooksByUserId({
userId: ctx.user.id,
organizationId: ctx.user.profile?.organizationId,
userRole: ctx.user.role,
});
};