mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 06:44:22 +01:00
simplify and reduce internal db writes.
This commit is contained in:
@@ -44,7 +44,7 @@ func renderProfile(ctx context.Context, r *http.Request, w http.ResponseWriter,
|
||||
|
||||
var lastNotes []EnhancedEvent
|
||||
if !isEmbed {
|
||||
lastNotes = authorLastNotes(ctx, profile.PubKey, isSitemap)
|
||||
lastNotes = authorLastNotes(ctx, profile.PubKey)
|
||||
}
|
||||
|
||||
if isSitemap {
|
||||
|
||||
Reference in New Issue
Block a user