cuappdev/pollo-backend

Change socket answer structure

Closed this issue · 1 comments

  • Right now the iOS app emits either 'A', 'B', 'C'.... but this discards the text.
  • iOS should emit {'A': 'blue'} where 'blue' is the text for choice A or {'B': ''} if option B is blank
  • Results should now be {'A': {'text': 'Blue', 'count': 1}, 'B': {'text': '', 'count': 2}}