mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
OPDS Spec issue with Panels (#736)
* Fixed a spec issue with entries that contain no items. We send 'Nothing here', but I forgot to send an Id for that feed. * Added a missing migration for backup directories
This commit is contained in:
parent
ae81fffc94
commit
3a25608bf9
@ -202,6 +202,7 @@ namespace API.Controllers
|
|||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -324,6 +325,7 @@ namespace API.Controllers
|
|||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -390,6 +392,7 @@ namespace API.Controllers
|
|||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -429,6 +432,7 @@ namespace API.Controllers
|
|||||||
{
|
{
|
||||||
feed.Entries.Add(new FeedEntry()
|
feed.Entries.Add(new FeedEntry()
|
||||||
{
|
{
|
||||||
|
Id = "0",
|
||||||
Title = "Nothing here",
|
Title = "Nothing here",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,8 @@ namespace API.Data
|
|||||||
Configuration.LogLevel + string.Empty;
|
Configuration.LogLevel + string.Empty;
|
||||||
context.ServerSetting.First(s => s.Key == ServerSettingKey.CacheDirectory).Value =
|
context.ServerSetting.First(s => s.Key == ServerSettingKey.CacheDirectory).Value =
|
||||||
DirectoryService.CacheDirectory + string.Empty;
|
DirectoryService.CacheDirectory + string.Empty;
|
||||||
|
context.ServerSetting.First(s => s.Key == ServerSettingKey.BackupDirectory).Value =
|
||||||
|
DirectoryService.BackupDirectory + string.Empty;
|
||||||
|
|
||||||
await context.SaveChangesAsync();
|
await context.SaveChangesAsync();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user