simplify and reduce internal db writes.

This commit is contained in:
fiatjaf
2024-10-06 21:37:28 -03:00
parent a30d484432
commit 126aec6ea9
2 changed files with 11 additions and 41 deletions

View File

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