Manager: fixed copy/paste typo in CheckBlenderExePath() #104192

Merged
Sybren A. Stüvel merged 1 commits from MKRelax/flamenco:main into main 2023-03-06 12:55:54 +01:00

View File

@ -221,7 +221,7 @@ func (f *Flamenco) FindBlenderExePath(e echo.Context) error {
func (f *Flamenco) CheckBlenderExePath(e echo.Context) error { func (f *Flamenco) CheckBlenderExePath(e echo.Context) error {
logger := requestLogger(e) logger := requestLogger(e)
var toCheck api.CheckSharedStoragePathJSONBody var toCheck api.CheckBlenderExePathJSONBody
if err := e.Bind(&toCheck); err != nil { if err := e.Bind(&toCheck); err != nil {
logger.Warn().Err(err).Msg("bad request received") logger.Warn().Err(err).Msg("bad request received")
return sendAPIError(e, http.StatusBadRequest, "invalid format") return sendAPIError(e, http.StatusBadRequest, "invalid format")