core-geonetwork
core-geonetwork copied to clipboard
formatter: remove alert message if 201 on upload
Fix https://github.com/geonetwork/core-geonetwork/issues/6449
The change should be fine, but it's unclear to me why a response code ' 201` is triggering the fail handler.
Thanks @josegar74
It's managed by the dependency which is quite old and seems to test for a 200
.
I tried to dig into the code to see if I can pass options or handle better this case but it seems I can't so my proposition is the safest fix IMO.