fix: Supabase storage upload hatasını çözmek için dosya adlarındaki Türkçe karakterler ve boşluklar temizlendi
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
require('dotenv').config();
|
||||
const { createClient } = require('@supabase/supabase-js');
|
||||
const supabase = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_ROLE_KEY);
|
||||
|
||||
async function run() {
|
||||
const { data, error } = await supabase.from('templates').select('*').limit(1);
|
||||
if (error) console.error('Error:', error.message);
|
||||
else console.log('Success:', data);
|
||||
}
|
||||
run();
|
||||
Reference in New Issue
Block a user