everydaycats commited on
Commit
feba981
·
verified ·
1 Parent(s): 28bbc46

Update apps/aura_measure.js

Browse files
Files changed (1) hide show
  1. apps/aura_measure.js +2 -0
apps/aura_measure.js CHANGED
@@ -81,6 +81,8 @@ router.post('/initialize', async (req, res) => {
81
  const { device_id, push_token, username, avatar } = req.body;
82
  if (!device_id) return res.status(400).json({ success: false, error: 'device_id required' });
83
 
 
 
84
  // 1. Check if profile exists first
85
  const { data: existing } = await supabase
86
  .from('aura_profiles')
 
81
  const { device_id, push_token, username, avatar } = req.body;
82
  if (!device_id) return res.status(400).json({ success: false, error: 'device_id required' });
83
 
84
+ console.log(`Push token: ${push_token}`);
85
+
86
  // 1. Check if profile exists first
87
  const { data: existing } = await supabase
88
  .from('aura_profiles')