···138138 if (evt.collection === ids.AppBskyActorProfile) {
139139 //only listen to updates because we should fetch it for the first time when they subscribe!
140140 if (evt.event === "update") {
141141- await inngest.send({
142142- name: "appview/profile-update",
143143- data: {
144144- did: evt.did,
145145- record: evt.record,
146146- },
147147- });
141141+ await supabaseServerClient
142142+ .from("bsky_profiles")
143143+ .update({ record: evt.record as Json })
144144+ .eq("did", evt.did);
148145 }
149146 }
150147 if (evt.collection === "app.bsky.feed.post") {