Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit e594635

Browse files
authored
fix: secret example put instead of putting - permission (#683)
1 parent 19ab4e5 commit e594635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/secrets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ latestVersion.version
125125
from nitric.resources import secret
126126
from nitric.application import Nitric
127127

128-
api_key = secret("api-key").allow("putting")
128+
api_key = secret("api-key").allow("put")
129129

130130
latest = await api_key.put("a new secret value")
131131

0 commit comments

Comments
 (0)