diff --git a/docs/secrets.mdx b/docs/secrets.mdx index 0984c9a7f..80b0c6017 100644 --- a/docs/secrets.mdx +++ b/docs/secrets.mdx @@ -127,7 +127,7 @@ from nitric.application import Nitric api_key = secret("api-key").allow("putting") -latest = api_key.put("a new secret value") +latest = await api_key.put("a new secret value") # We can get the version ID of our newly stored value latest.version