import { getLegacySupabaseClient } from '../src/services/legacySupabaseClient.js';

async function check() {
    const client = getLegacySupabaseClient();
    if (!client) {
        console.error('Legacy Supabase client is not configured.');
        process.exit(1);
    }
    const { data } = await client.from('trade_profiles').select('name, risk_per_trade_percent');
    console.log('--- CURRENT PROFILES ---');
    console.log(JSON.stringify(data, null, 2));
    process.exit(0);
}
check();
