Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have two similar tables with similar access, both I can read by CURL, but with @supabase/supabase-js I can read only one table #1315

Closed
AAlex-11 opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@AAlex-11
Copy link

import { createClient } from "@supabase/supabase-js";
import {} from "dotenv/config";

const supabaseUrl = process.env.SUPABASE_URL;
const supabaseKey = process.env.SUPABASE_KEY;
const supabase = createClient(supabaseUrl, supabaseKey);

let { data, error } = await supabase.from("types").select();
console.log(data, error)

const supabase1 = createClient(supabaseUrl, supabaseKey);

let{ data1, error1 } = await supabase1.from("entry").select();
console.log(data1, error1)

VbNetSupport-11152024_131144_1

VbNetSupport-11152024_134500

VbNetSupport-11152024_134547

@AAlex-11 AAlex-11 added the bug Something isn't working label Nov 15, 2024
@AAlex-11
Copy link
Author

Sorry, this is no issue, this is my mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant