fix: getPublicEventType of NonOrgUser fetch OrgUser event-type of same username (#15587)

* fix: getPublicEventType of NonOrgUser fetch OrgUser event-type with same username

* Fix the test that was supposed to verify the scenario

---------

Co-authored-by: Hariom <[email protected]>
Co-authored-by: Omar López <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-06-27 20:32:19 +00:00
1 parent 3948b8d203
commit 3a2a70d83a
2 files changed
+9 -3

No files matched your search

@@ -239,6 +239,7 @@ export const getPublicEvent = async (
}
: {
username,
profiles: { none: {} },
}),
},
},