Skip to content

Commit

Permalink
Fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
t3dotgg committed Jan 29, 2025
1 parent eab37fa commit c3d5e99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { type Metadata } from "next";
import { ClerkProvider } from "@clerk/nextjs";

export const metadata: Metadata = {
title: "Create T3 App",
description: "Generated by create-t3-app",
title: "Drive Tutorial",
description: "It's like Google Drive, but worse!",
icons: [{ rel: "icon", url: "/favicon.ico" }],
};

Expand Down
3 changes: 2 additions & 1 deletion src/server/db/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ export const MUTATIONS = {
name: string;
size: number;
url: string;
parent: number;
};
userId: string;
}) {
return await db.insert(filesSchema).values({
...input.file,
parent: 1,
parent: input.file.parent,
});
},
};

0 comments on commit c3d5e99

Please sign in to comment.