Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions chats/rdflib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,15 @@ import ChatsModuleRdfLib, { ChatsModule } from "@solid-data-modules/chats-rdflib

// 1️⃣ create rdflib store, fetcher and updater as usual
const store = graph();
const fetcher = new Fetcher(
store,
const options = {
// 💡 pass an authenticated fetch
// to be able to access private resources*
// to be able to access private resources,
// see https://linkeddata.github.io/rdflib.js/doc/interfaces/AutoInitOptions.html
/* fetch: authenticatedFetch */
};
const fetcher = new Fetcher(
store,
options,
);
const updater = new UpdateManager(store);

Expand Down
Loading