Skip to content

Commit

Permalink
chore: 불필요한 console.log 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
xilucks committed Aug 17, 2024
1 parent 80d687c commit 7b6b807
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/app/(main)/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default async function Page() {
}
const invitations = await getInvitationsByUserId();

console.log(invitations);
return (
<div className="flex h-dvh flex-col overflow-hidden">
{/* header */}
Expand Down
2 changes: 0 additions & 2 deletions src/lib/db/schema/invitations.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export async function getInvitationByEventUrl(eventUrl: string) {
export async function getInvitationsByUserId(): Promise<Invitation[]> {
const sessionId = await getAuth();
const sessionUserId = sessionId.session.userId;
console.log(sessionUserId);

return await db
.select()
Expand Down Expand Up @@ -86,7 +85,6 @@ export async function updateInvitation(params: UpdateInvitationParams) {
if (!id) {
throw new Error("ID is required to update an invitation");
}
console.log(updates);

try {
await db
Expand Down

0 comments on commit 7b6b807

Please sign in to comment.