refactor: Fix linter errors by auto-apply
- Apply automated linter fixes - Manually reformat fields in model/service.go - Resolve code complexity issues
This commit is contained in:
@@ -26,6 +26,7 @@ func (c *PlainAuthController) Handler() gin.HandlerFunc {
|
||||
Send(ginCtx)
|
||||
if sendErr != nil {
|
||||
ginCtx.Writer.WriteHeader(http.StatusInternalServerError)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
@@ -41,6 +42,7 @@ func (c *PlainAuthController) Handler() gin.HandlerFunc {
|
||||
Send(ginCtx)
|
||||
if sendErr != nil {
|
||||
ginCtx.Writer.WriteHeader(http.StatusInternalServerError)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user