From dadac11457e1a16dbfe703824639575896c2f98e Mon Sep 17 00:00:00 2001 From: David Moore Date: Fri, 13 Dec 2024 10:30:01 +1100 Subject: [PATCH] put instead of putting - permission --- docs/secrets.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/secrets.mdx b/docs/secrets.mdx index 80b0c6017..874eabc82 100644 --- a/docs/secrets.mdx +++ b/docs/secrets.mdx @@ -125,7 +125,7 @@ latestVersion.version from nitric.resources import secret from nitric.application import Nitric -api_key = secret("api-key").allow("putting") +api_key = secret("api-key").allow("put") latest = await api_key.put("a new secret value")