Skip to content

Commit

Permalink
fix: no walrus
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Dec 28, 2024
1 parent 0972519 commit 98547b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/v3/api/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ type GetFile400Response struct {

// GetFile - Download module release
func (s *ReleaseOperationsApi) GetFile(ctx context.Context, filename string) (gen.ImplResponse, error) {

if filename == "" {
return gen.Response(400, gen.GetFile400Response{
Message: "No filename provided",
Expand Down Expand Up @@ -368,7 +367,7 @@ func (s *ReleaseOperationsApi) GetReleases(ctx context.Context, limit int32, off
}

base.RawQuery = params.Encode()
currentInf := interface{}(base.String())
currentInf = interface{}(base.String())
params.Set("offset", "0")
firstInf := interface{}(base.String())

Expand Down

0 comments on commit 98547b8

Please sign in to comment.