Commit 7d435d4
fix: remove non-existent single-tag API endpoint causing 405 errors
The Toggl v9 API doesn't support GET /workspaces/{wid}/tags/{tagId}.
CacheManager.getTag() now uses getTags() to bulk-fetch and cache all
tags for the workspace, eliminating repeated 405 failures during
time entry hydration.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5dddd55 commit 7d435d4
2 files changed
+5
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
253 | 246 | | |
254 | 247 | | |
255 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
| |||
0 commit comments