a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

revert to updating profiles directly via supabase

+4 -7
+4 -7
appview/index.ts
··· 138 138 if (evt.collection === ids.AppBskyActorProfile) { 139 139 //only listen to updates because we should fetch it for the first time when they subscribe! 140 140 if (evt.event === "update") { 141 - await inngest.send({ 142 - name: "appview/profile-update", 143 - data: { 144 - did: evt.did, 145 - record: evt.record, 146 - }, 147 - }); 141 + await supabaseServerClient 142 + .from("bsky_profiles") 143 + .update({ record: evt.record as Json }) 144 + .eq("did", evt.did); 148 145 } 149 146 } 150 147 if (evt.collection === "app.bsky.feed.post") {