This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch release-v0.18
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.18 by this push:
new 506840ed5 fix: panic when creating webhook deployment (#5693)
506840ed5 is described below
commit 506840ed52e5aa21aa98bda6953724e88a99cca2
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Jul 18 20:51:38 2023 +0800
fix: panic when creating webhook deployment (#5693)
---
backend/server/api/router.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/server/api/router.go b/backend/server/api/router.go
index 5acdd8d57..b4005b575 100644
--- a/backend/server/api/router.go
+++ b/backend/server/api/router.go
@@ -114,7 +114,7 @@ func handlePluginCall(pluginName string, handler
plugin.ApiResourceHandler) func
} else {
err2 := c.ShouldBindJSON(&input.Body)
if err2 != nil && err2.Error() != "EOF" {
- shared.ApiOutputError(c, err)
+ shared.ApiOutputError(c, err2)
return
}
}