Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Sep 2, 2024
1 parent d39d3ab commit 4fd5e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/supabase/src/mutations/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { logger } from "@v1/logger";
import { createClient } from "@v1/supabase/server";
import type { Database, Tables } from "../types";
import type { Database, Tables, TablesUpdate } from "../types";

export async function updateUser(userId: string, data: Tables<"users">) {
export async function updateUser(userId: string, data: TablesUpdate<"users">) {
const supabase = createClient();

try {
Expand Down

0 comments on commit 4fd5e3f

Please sign in to comment.