|
@@ -49,7 +49,7 @@ func (h *WebForwardingHandler) AddWebForwarding(ctx *gin.Context) {
|
|
|
defaults.SetDefaults(req)
|
|
|
err := h.webForwardingService.AddWebForwarding(ctx, req)
|
|
|
if err != nil {
|
|
|
- v1.HandleError(ctx, http.StatusInternalServerError, err, err.Error())
|
|
|
+ v1.HandleError(ctx, http.StatusInternalServerError, err, nil)
|
|
|
return
|
|
|
}
|
|
|
v1.HandleSuccess(ctx, nil)
|