mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
Add challenge select winner test for broken and winner flags of challenge tasks
This commit is contained in:
@@ -467,7 +467,7 @@ api.selectChallengeWinner = {
|
||||
|
||||
res.respond(200, {});
|
||||
// Close channel in background
|
||||
_closeChal(challenge, {broken: 'CHALLENGE_DELETED', winner});
|
||||
_closeChal(challenge, {broken: 'CHALLENGE_CLOSED', winner});
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user