Closed BlinkVonDoom closed 4 years ago
When creating a new message status column only returns as 'success' regardless of outcome
status
admin/bat_signal
Failed messages should have the appropriate status
https://github.com/inst-support-eng/panda-pto/blob/b8d76c4b886e7229b087cd7011b1afb380b4180c/app/controllers/messages_controller.rb#L42
Needs better handling, res currently returns 1 or 0, and should check for this.
closed with https://github.com/inst-support-eng/panda-pto/commit/0f91d706723efa059c63b9693cdc453c1513ec02
Description
When creating a new message
status
column only returns as 'success' regardless of outcomeSteps To Reproduce
admin/bat_signal
status
key will return successExpected behavior
Failed messages should have the appropriate status
Additional information
https://github.com/inst-support-eng/panda-pto/blob/b8d76c4b886e7229b087cd7011b1afb380b4180c/app/controllers/messages_controller.rb#L42
Needs better handling, res currently returns 1 or 0, and should check for this.