feature/worker #111

Merged
primakov merged 190 commits from feature/worker into master 2025-12-05 16:59:42 +03:00
Showing only changes of commit 6b5ae7bce1 - Show all commits

View File

@@ -7,7 +7,6 @@ async function initSupabaseClient() {
const supabaseUrl = await getSupabaseUrl();
const supabaseAnonKey = await getSupabaseKey();
supabase = createClient(supabaseUrl, supabaseAnonKey);
return supabase;
}
function getSupabaseClient() {
@@ -16,7 +15,7 @@ function getSupabaseClient() {
}
return supabase;
}
// POST /refresh-supabase-client
router.post('/refresh-supabase-client', async (req, res) => {
try {
@@ -31,7 +30,7 @@ try {
(async () => {
await initSupabaseClient();
})();
module.exports = {
getSupabaseClient,
};