Skip to content

Commit

Permalink
Merge pull request #61 from diggerhq/fix/creation-of-projects
Browse files Browse the repository at this point in the history
fix creation of projects
  • Loading branch information
motatoes authored Oct 13, 2024
2 parents 43aa999 + 9c022e4 commit b3b0073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/data/user/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { createSupabaseUserServerComponentClient } from "@/supabase-clients/user
import type { CommentWithUser, Enum, SAPayload } from "@/types";
import { normalizeComment } from "@/utils/comments";
import { serverGetLoggedInUser } from "@/utils/server/serverGetLoggedInUser";
import { randomUUID } from "crypto";
import { revalidatePath } from "next/cache";
import { Suspense } from "react";
import { getRepoDetails } from "./repos";
Expand Down Expand Up @@ -104,6 +105,7 @@ export const createProjectAction = async ({
const { data: project, error } = await supabaseClient
.from("projects")
.insert({
id: randomUUID(),
organization_id: organizationId,
name,
slug,
Expand Down

0 comments on commit b3b0073

Please sign in to comment.