Repository navigation
Commit c9ab2bc
committed
fix: refresh user model to ensure accurate ETag generation
- Added user->refresh() before ETag generation
- Ensures updated_at timestamp is fresh from database
- Fixes issue where browser cache wasn't invalidating after user updates
- The authenticated user from request may have stale timestamps1 parent a9997d8 commit c9ab2bc
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| |||
0 commit comments