nodeSolidServer/solid-auth-client

readme.md important typo

gibsonf1 opened this issue · 0 comments

In readme.md, using fetch is desribed:

const auth = require('solid-auth-client')
const { fetch } = solid.auth;

but this doesn't work. To make rdflib work with tokens, it would need to be:

const auth = require('solid-auth-client')
const { fetch } = auth.fetch;

I didn't realize my app hadn't been authenticating correctly until building our own solid server TrinPod, so this correction I think would be good to make for other solid app developers.