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:
@@ -50,6 +50,7 @@ func StartImport(router *gin.RouterGroup) {
|
||||
|
||||
var f form.ImportOptions
|
||||
|
||||
// Assign and validate request form values.
|
||||
if err := c.BindJSON(&f); err != nil {
|
||||
AbortBadRequest(c)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user