editable link fixes

This commit is contained in:
Nazar Kanaev
2024-04-17 21:44:16 +01:00
parent b01f71de1a
commit 58420ae52b
3 changed files with 11 additions and 7 deletions

View File

@@ -294,7 +294,7 @@ func (s *Server) handleFeed(c *router.Context) {
s.db.UpdateFeedFolder(id, &folderId)
}
}
if link, ok := body["link"]; ok {
if link, ok := body["feed_link"]; ok {
if reflect.TypeOf(link).Kind() == reflect.String {
s.db.UpdateFeedLink(id, link.(string))
}