mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-15 13:57:09 +02:00
Compare commits
4 commits
master
...
fix/scanne
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fec03d8780 | ||
|
|
5b01636d33 | ||
|
|
fda536ff17 | ||
|
|
91647ed46f |
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ func (p *phasePlaylists) produce(put func(entry *model.Folder)) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
u, _ := request.UserFrom(p.ctx)
|
u, _ := request.UserFrom(p.ctx)
|
||||||
if !u.IsAdmin {
|
if u.ID == "" {
|
||||||
log.Warn(p.ctx, "Playlists will not be imported, as there are no admin users yet, "+
|
log.Warn(p.ctx, "Playlists will not be imported, as there are no admin users yet, "+
|
||||||
"Please create an admin user first, and then update the playlists for them to be imported")
|
"Please create an admin user first, and then update the playlists for them to be imported")
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue