mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -103,6 +103,11 @@ func StartImport(router *gin.RouterGroup) {
|
||||
opt.Albums = f.Albums
|
||||
}
|
||||
|
||||
// Set user UID if known.
|
||||
if s.UserUID != "" {
|
||||
opt.OwnerUID = s.UserUID
|
||||
}
|
||||
|
||||
// Start import.
|
||||
imported := imp.Start(opt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user