From 6600be1b2d0cd1481d0d2080461e8a8d4d748faf Mon Sep 17 00:00:00 2001 From: gak Date: Fri, 14 Jun 2024 14:01:18 +1000 Subject: [PATCH] docs: secrets example (#1779) --- docs/content/docs/reference/secretsconfig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/reference/secretsconfig.md b/docs/content/docs/reference/secretsconfig.md index 4856b5d444..b3815b52d1 100644 --- a/docs/content/docs/reference/secretsconfig.md +++ b/docs/content/docs/reference/secretsconfig.md @@ -42,7 +42,7 @@ var apiKey = ftl.Secret[string]("apiKey") Then to retrieve a secret value: ```go -username = defaultUser.Get(ctx) +key = apiKey.Get(ctx) ``` ### Transforming secrets/configuration