diff --git a/README.md b/README.md index a15ebca..39cfb19 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ Then the config is used in a before all hook like this ```jsx const authenticate = async (context:HookContext):Promise => { - return await allUcanAuth(ucanArgs(context), {or: ['patch'], admin: ['remove'] }})(context); + return await allUcanAuth(ucanArgs(context), {or: ['patch'], adminPass: ['remove'] }})(context); } ...