The intended behavior of the WebPush router is to return HTTP 201 if the message was directly delivered to the node, or HTTP 202 if the message could not be directly delivered and was instead stored for later delivery. The code was incorrectly returning 201 for both cases.
Description
The intended behavior of the WebPush router is to return HTTP 201 if the message was directly delivered to the node, or HTTP 202 if the message could not be directly delivered and was instead stored for later delivery. The code was incorrectly returning 201 for both cases.
Testing
Tests have been updated, and should pass.
Issue(s)
N/A