Skip to content

Commit

Permalink
fix(service): fix a problem in the file parameter generator (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinzhao Xu authored Feb 19, 2020
1 parent 4bd54ff commit b839c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (g *FileParameterGenerator) Generate(ctx context.Context, vc ValueContainer
if !ok {
return nil, nil
}
return repeatableCloserForFile{file, false}, nil
return &repeatableCloserForFile{file, false}, nil
}

// BodyParameterGenerator is used to generate object or body reader by value from request body.
Expand Down

0 comments on commit b839c51

Please sign in to comment.