trypost/app/Services
Paulo Castellano 6c6078fa6a refactor(social): drop redundant \$account->refresh() after CV refresh
Every refresh*Token method inside ConnectionVerifier already finishes
with \$account->update(...) (mutates the model) + \$account->refresh()
(reloads from DB to pick up sibling updates like LinkedInTokenSynchronizer).
The lock-contention branch in refreshToken() also calls \$account->refresh()
before returning.

So a second \$account->refresh() in the caller was always a redundant
SELECT — no scenario where it actually pulled a different value than
what CV already left in memory. Removed from all 15 call sites, plus
fixed the duplicated "Mastodon tokens don't expire" comment.
2026-05-19 09:52:49 -03:00
..
Ai feat: AI image generation pipeline and post creation overhaul 2026-05-08 13:38:30 -03:00
Brand feat: AI image generation pipeline and post creation overhaul 2026-05-08 13:38:30 -03:00
Image refactor: drop RenderedSlide DTO and content_language null fallbacks 2026-05-08 19:32:51 -03:00
Media refactor: unify social analytics, reorganize workspace settings, and implement content validation rules 2026-05-02 12:22:42 -03:00
Post feat: add multipart media upload endpoint and split URL flow 2026-05-04 18:00:03 -03:00
PostTemplate refactor: reorganize settings UI, migrate post templates to a file-based registry, and remove legacy video generation features 2026-05-03 13:44:13 -03:00
Social refactor(social): drop redundant \$account->refresh() after CV refresh 2026-05-19 09:52:49 -03:00
GiphyService.php feat: complete AI assistant with custom services and brand config 2026-04-16 09:25:08 -03:00
PostHogService.php chore: drop verbose docblocks across PostHog and billing files 2026-05-07 16:03:12 -03:00
UnsplashService.php feat: complete AI assistant with custom services and brand config 2026-04-16 09:25:08 -03:00