Closed aldy505 closed 2 years ago
https://github.com/aldy505/jokes-bapak2-api/blob/0ed396b78d93544972d73090d410d3014e281d08/api/app/v1/handler/joke_add.go#L24-L28
Right now, if the link already exists, it would return the same link with the one you've just submitted. I think it'd be better if it has a different response, it'd be a lot clearer for the one who's submitting it.
https://github.com/aldy505/jokes-bapak2-api/blob/0ed396b78d93544972d73090d410d3014e281d08/api/app/v1/handler/joke_add.go#L24-L28
Right now, if the link already exists, it would return the same link with the one you've just submitted. I think it'd be better if it has a different response, it'd be a lot clearer for the one who's submitting it.