Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions backend/internal/errs/http.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package errs

import (
"errors"
"fmt"
"log/slog"
"net/http"
Expand Down Expand Up @@ -43,7 +42,7 @@
return NewHTTPError(http.StatusConflict, fmt.Errorf("conflict: %s with %s='%s' already exists", title, withKey, withValue))
}

func InvalidRequestData(errors map[string]string) HTTPError {
fjwifwjfunc InvalidRequestData(errors map[string]string) HTTPError {

Check failure on line 45 in backend/internal/errs/http.go

View workflow job for this annotation

GitHub Actions / Lint

expected declaration, found fjwifwjfunc (typecheck)
return HTTPError{
Code: http.StatusUnprocessableEntity,
Message: errors,
Expand All @@ -60,7 +59,7 @@

func ErrorHandler(c *fiber.Ctx, err error) error {
var httpErr HTTPError
if castedErr, ok := err.(HTTPError); ok {

Check failure on line 62 in backend/internal/errs/http.go

View workflow job for this annotation

GitHub Actions / Lint

expected declaration, found 'if' (typecheck)
httpErr = castedErr
} else {
httpErr = InternalServerError()
Expand Down
1 change: 1 addition & 0 deletions backend/supabase/.temp/cli-latest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v2.67.1
Loading