-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Description
📜 Description
Based on PATCH
verb description it serves as a set of instructions for modifying a resource
. It should not create a resource.
👟 Reproduction steps
- Call https://docs.novu.co/api-reference/subscribers/upsert-provider-credentials with body for a subscriber with no credentials previously created:
{
"providerId": "fcm",
"credentials": {
"deviceTokens": [
"token1",
"token2"
]
}
}
- Check subscriber profile -> credentials are added to the profile.
👍 Expected behavior
404 Not Found
👎 Actual Behavior with Screenshots
It actually creates the resource.
Novu version
Novu SaaS
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
- I checked and didn't find a similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to submit PR?
None