tangled
alpha
login
or
join now
dollspace.gay
/
Aurora-Prism
4
fork
atom
A third party ATProto appview
4
fork
atom
overview
issues
pulls
pipelines
backfill fix
dollspacegay.tngl.sh
4 months ago
c27fa41b
9ab7cf0f
+3
-17
1 changed file
expand all
collapse all
unified
split
server
routes.ts
+3
-17
server/routes.ts
···
722
722
);
723
723
const isAdmin = await adminAuthService.isAdmin(did);
724
724
725
725
-
// Trigger automatic backfill of liked posts in background (non-blocking)
726
726
-
import('./services/auto-backfill-likes').then(
727
727
-
({ autoBackfillLikesService }) => {
728
728
-
autoBackfillLikesService.checkAndBackfill(did).catch((err) => {
729
729
-
console.error('[AUTO_BACKFILL_LIKES] Error:', err);
730
730
-
});
731
731
-
}
732
732
-
);
733
733
-
734
734
-
// Trigger automatic backfill of follows/followers and profiles in background (non-blocking)
735
735
-
import('./services/auto-backfill-follows').then(
736
736
-
({ autoBackfillFollowsService }) => {
737
737
-
autoBackfillFollowsService.checkAndBackfill(did).catch((err) => {
738
738
-
console.error('[AUTO_BACKFILL_FOLLOWS] Error:', err);
739
739
-
});
740
740
-
}
741
741
-
);
725
725
+
// NOTE: Do NOT trigger backfill here - this is for admin panel login only.
726
726
+
// Backfill should only be triggered when users log in via client apps
727
727
+
// (XRPC createSession/refreshSession endpoints) or manually via backfill endpoints.
742
728
743
729
// Create JWT token for frontend
744
730
const token = authService.createSessionToken(did, did);