Skip to content

Commit

Permalink
Survey answers log
Browse files Browse the repository at this point in the history
  • Loading branch information
the-laziest-coder committed Apr 22, 2024
1 parent 1edc881 commit 578751c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/galxe/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ async def _complete_survey(self, campaign_id, survey):
logger.warning(f'{self.idx}) Expected {len(questions)} answers, but only {len(answers)} provided')
return False
sync_options = self._default_sync_options(survey_id)
logger.info(f'{self.idx}) Sending answers: {answers}')
sync_options.update({'survey': {'answers': answers}})
await self.client.sync_credential_value(sync_options, only_allow=False)
logger.success(f'{self.idx}) "{survey_name}" submitted')
Expand Down

0 comments on commit 578751c

Please sign in to comment.