Updated Public facing Endpoints + S3 Connection #30
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Doble/MatchMakingServices!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "john4064/PublicView"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +49,4 @@c.JSON(http.StatusBadRequest, gin.H{"error": "missing 'image' field"})return}defer file.Close()🚫 [golangci] reported by reviewdog 🐶
Error return value of
file.Closeis not checked (errcheck)@ -0,0 +79,4 @@c.JSON(http.StatusBadRequest, gin.H{"error": "missing 'image' field"})return}defer file.Close()🚫 [golangci] reported by reviewdog 🐶
Error return value of
file.Closeis not checked (errcheck)@ -0,0 +82,4 @@}defer func(file multipart.File) {err := file.Close()if err != nil {🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)
@ -0,0 +40,4 @@}//update avatar url herefor ind, _ := range userView {🚫 [golangci] reported by reviewdog 🐶
S1005: unnecessary assignment to the blank identifier (staticcheck)
@ -41,2 +58,3 @@ver1.GET("/user/profile", middleware.CheckAuth, handlers.GetUserProfile)ver1.GET("/user/profile", middleware.CheckAuth, func(c *gin.Context) {handlers.GetUserProfile(c, uploadHandler)🚫 [golangci] reported by reviewdog 🐶
too many arguments in call to handlers.GetUserProfile
@ -0,0 +92,4 @@}defer func(file multipart.File) {err := file.Close()if err != nil {🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)
@ -0,0 +92,4 @@}defer func(file multipart.File) {err := file.Close()if err != nil {🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)
@ -0,0 +92,4 @@}defer func(file multipart.File) {err := file.Close()if err != nil {🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)
@ -0,0 +92,4 @@}defer func(file multipart.File) {err := file.Close()if err != nil {🚫 [golangci] reported by reviewdog 🐶
SA9003: empty branch (staticcheck)
@ -0,0 +52,4 @@}func scrapeLolPatches(e *colly.HTMLElement) {🚫 [golangci] reported by reviewdog 🐶
func scrapeLolPatches is unused (unused)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.