From d88e7e57515f4a903ceeed37a2fdf535343a7afa Mon Sep 17 00:00:00 2001 From: ha6755ad <49353034+ha6755ad@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:41:00 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } ...