feat: added fields for git

This commit is contained in:
Marvin Zhang
2024-06-19 15:50:30 +08:00
parent b757826867
commit 7c42d68ad7
2 changed files with 13 additions and 8 deletions

View File

@@ -31,6 +31,10 @@ func HandleErrorBadRequest(c *gin.Context, err error) {
HandleError(http.StatusBadRequest, c, err)
}
func HandleErrorForbidden(c *gin.Context, err error) {
HandleError(http.StatusForbidden, c, err)
}
func HandleErrorUnauthorized(c *gin.Context, err error) {
HandleError(http.StatusUnauthorized, c, err)
}