Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

feat: Update CreateMediumPostBlock to use secret value for author_id

Toran Bruce Richardsf833fa362472
diff --git a/rnd/autogpt_server/autogpt_server/blocks/create_medium_post.py b/rnd/autogpt_server/autogpt_server/blocks/create_medium_post.py
index 2f326caa99..6b44052509 100644
--- a/rnd/autogpt_server/autogpt_server/blocks/create_medium_post.py
+++ b/rnd/autogpt_server/autogpt_server/blocks/create_medium_post.py
@@ -139,7 +139,7 @@ class CreateMediumPostBlock(Block):
try:
response = self.create_post(
input_data.api_key.get_secret_value(),
- input_data.author_id,
+ input_data.author_id.get_secret_value(),
input_data.title,
input_data.content,
input_data.content_format,