Civium demoPreview of the future GitHub extension experience
Civium
civium/code-review-demoDemo fixture
Reviewer sessionAssigning…Look for this name on published comments.
← Pull requests

Tighten session validation #1

civium-systems-for-code-review[bot] wants to merge 1 commit into main from fixture/pr-1

Showing 1 changed filewith 4 additions and 0 deletions.
fixture/session.ts
@@ -17,3 +18,4 @@
11+export function getSessionUser(session: { user: { id: string } }) {
22+ const userId = session.user.id;
33+ return userId;
44+}