1
0
Fork 0
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:
Frédéric Guillot 2020-03-17 20:22:02 -07:00
parent 41a2b7e58e
commit 59c8dac851
4 changed files with 13 additions and 5 deletions

View file

@ -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)