Skip to content

Commit 30b2a35

Browse files
committed
ffdgdgfdfdgfdfggggggggggggggggggg
1 parent e2499a6 commit 30b2a35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

u/inventory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
async function initInventory(fr) {
2-
const { data, error } = await supabase.from("udata").select("inventory").eq("user_id", fr.user.id).single();
2+
const { data, error } = await supabase.from("udata").select("inventory").eq("user_id", fr.id).single();
33
if (!data || error) document.getElementById("infotext").innerHTML = "Something went wrong.";
44
else document.getElementById("infotext").innerHTML = "Your inventory is empty.";
55
}

0 commit comments

Comments
 (0)