Skip to content

Commit

Permalink
Merge pull request #96 from zacowan/develop
Browse files Browse the repository at this point in the history
hotfix(logs): logged castle_side
  • Loading branch information
zacowan authored Dec 6, 2021
2 parents 03bd11e + 049d022 commit 0918366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion andy_api/api/intent_processing/castle.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def handle(session_id, intent_model, board_str):
# Log the fulfillment params
set_fulfillment_params(session_id, params={
"from_location": from_location,
"to_location": to_location
"to_location": to_location,
"castle_side": castle_side
})

# Chess logic
Expand All @@ -100,6 +101,7 @@ def handle(session_id, intent_model, board_str):
set_fulfillment_params(session_id, params={
"from_location": from_location,
"to_location": to_location,
"castle_side": castle_side,
"won": True
})
elif check_if_check(updated_board_str):
Expand Down

0 comments on commit 0918366

Please sign in to comment.