Skip to content

Commit 904bb1e

Browse files
committed
fix: wrong variable types
1 parent d238dc4 commit 904bb1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

force-app/main/04_architecturalPatterns/externalAPIIntegration/aiAuthoringBundles/ExternalAPIIntegration/ExternalAPIIntegration.agent

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ variables:
1414
# API request tracking
1515
api_request_id: mutable string = ""
1616
description: "The ID of the current API request."
17-
api_response_status: mutable string = ""
17+
api_response_status: mutable boolean = False
1818
description: "The status of the API response (e.g., true for success, false for failure)."
1919
api_error_message: mutable string = ""
2020
description: "Error message returned by the API, if any."
2121

2222
# Weather API example
23-
temperature: mutable string = ""
23+
temperature: mutable number = 0
2424
description: "The current temperature fetched from the weather API."
25-
humidity: mutable string = ""
25+
humidity: mutable number = 0
2626
description: "The current humidity percentage fetched from the weather API."
2727
conditions: mutable string = ""
2828
description: "The current weather conditions (e.g., Sunny, Cloudy)."

0 commit comments

Comments
 (0)