Manager: fixed copy/paste typo in CheckBlenderExePath() (#104192)
The `toCheck` variable in `CheckBlenderExePath()` was initialized to `CheckSharedStoragePathJSONBody`, should be `CheckBlenderExePathJSONBody`. Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104192
This commit is contained in:
parent
ea20e94e94
commit
7963ab5efd
@ -221,7 +221,7 @@ func (f *Flamenco) FindBlenderExePath(e echo.Context) error {
|
||||
func (f *Flamenco) CheckBlenderExePath(e echo.Context) error {
|
||||
logger := requestLogger(e)
|
||||
|
||||
var toCheck api.CheckSharedStoragePathJSONBody
|
||||
var toCheck api.CheckBlenderExePathJSONBody
|
||||
if err := e.Bind(&toCheck); err != nil {
|
||||
logger.Warn().Err(err).Msg("bad request received")
|
||||
return sendAPIError(e, http.StatusBadRequest, "invalid format")
|
||||
|
Loading…
x
Reference in New Issue
Block a user