bug: v1/invitations/accept already used connection invitation doesn't return error in the websocket just an empty data object
Steps:
- Issuer makes a new invitation
- Get the ID and check the socket - > get the invitation url
- HOLDER OCM - > invitation/accept with the URL from 2.
- HOLDER OCM - > invitation/accept with the URL from 2. for a 2nd time to already use it.
- Check the Websocket of the Holder OCM with the 4th step id.
Actual: The holder receives a new ID and in the websocket connection you receive empty data object without an error that this connection is already used.
{
"id": "5e1ef3fd-f751-4db5-baca-2783a3a8e81f",
"specversion": "V1",
"datacontenttype": "application/json",
"subject": "connections.accept",
"source": "/invitations/accept",
"type": "connections.accept",
"data": {}
}
Edited by Rosen Georgiev