Commit c9bbbeb
fix: pass auth headers to get_active_project in status command
The status command was failing in cloud mode with "Not authenticated"
because it wasn't passing auth headers to get_active_project().
get_active_project makes API calls to validate the project, which
require authentication in cloud mode.
Fixed by passing auth_headers to get_active_project call on line 140.
Fixes authentication error when running `bm status --project main`
in cloud mode.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: phernandez <paul@basicmachines.co>1 parent e0e4e40 commit c9bbbeb
1 file changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
134 | 133 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
139 | 138 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
145 | 144 | | |
146 | | - | |
| 145 | + | |
147 | 146 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 147 | | |
152 | 148 | | |
153 | 149 | | |
| |||
0 commit comments