Sifa professional network API (Fastify, AT Protocol, Jetstream) sifa.id/

fix(activity): prepend https:// to PDS host URL in background scan trigger (#148)

authored by

Guido X Jansen and committed by
GitHub
f4abdbc1 c62d7dd1

+1 -1
+1 -1
src/routes/profile.ts
··· 400 400 401 401 // Trigger background PDS scan if data is stale (fire-and-forget) 402 402 if (valkey && pdsHost) { 403 - triggerRefreshIfStale(db, valkey, profile.did, pdsHost); 403 + triggerRefreshIfStale(db, valkey, profile.did, `https://${pdsHost}`); 404 404 } 405 405 406 406 // Fetch Standard publications from PDS and merge with Sifa publications