mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Note that these changes are not production ready yet and must be tested well before releasing them. Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -60,7 +60,7 @@ func ChangeFileOrientation(router *gin.RouterGroup) {
|
||||
return
|
||||
}
|
||||
|
||||
// Update form with values from request
|
||||
// Assign and validate request form values.
|
||||
if err = c.BindJSON(&f); err != nil {
|
||||
Abort(c, http.StatusBadRequest, i18n.ErrBadRequest)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user