mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Display Feed URL on shared page instead of user feed entries
This commit is contained in:
parent
41a2b7e58e
commit
59c8dac851
4 changed files with 13 additions and 5 deletions
|
@ -363,7 +363,7 @@ func (s *Storage) GetEntryShareCode(userID int64, entryID int64) (shareCode stri
|
|||
return
|
||||
}
|
||||
|
||||
shareCode = crypto.GenerateRandomStringHex(16)
|
||||
shareCode = crypto.GenerateRandomStringHex(20)
|
||||
|
||||
query = `UPDATE entries SET share_code = $1 WHERE user_id=$2 AND id=$3`
|
||||
result, err := s.db.Exec(query, shareCode, userID, entryID)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue