Open astyltsvig opened 5 years ago
We need our function to throw exception either if: The label addition process have gone wrong The label deletion process have gone wrong
If the exception is thrown, then we must return 405(?) to the HTTP post request.
Might be useful: https://www.codingame.com/playgrounds/347/javascript-promises-mastering-the-asynchronous/the-catch-method
We need our function to throw exception either if: The label addition process have gone wrong The label deletion process have gone wrong
If the exception is thrown, then we must return 405(?) to the HTTP post request.