Replies: 2 comments
|
One way to flush the profile cache is to send an import { Update, Person } from "@fedify/fedify";
const update = new Update({
object: new Person({
// Updated profile data...
})
});
const fedCtx = federation.createContext(req);
await fedCtx.sendActivity(
{ handle },
followers,
update,
); |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey @dahlia I'm trying to update the image here: https://indieweb.social/@Example@thomasreggi-fedi-blog-87.deno.dev
Here's the code, it's a fresh route:
https://github.com/reggi/fedi-blog/blob/main/routes/profile/index.tsx#L55-L76
Here's the log from jsonld:
All reactions