Repository navigation
Commit 7387433
Fix auth_id column reference in hire server actions
- Changed .eq('auth_id', user.id) to .eq('id', user.id) in both updateJobListing and deleteJobListing functions
- The codev table uses 'id' column that matches auth.users.id, not 'auth_id'
- This fixes the database query error when admins try to update/delete job listings
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 6fffad4 commit 7387433
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments