khatru/blossom: fix an error message.

This commit is contained in:
fiatjaf
2026-01-13 00:23:44 -03:00
parent b9f1f93561
commit 348de7bb06

View File

@@ -139,7 +139,7 @@ func (bs BlossomServer) handleUpload(w http.ResponseWriter, r *http.Request) {
Uploaded: nostr.Now(), Uploaded: nostr.Now(),
} }
if err := bs.Store.Keep(r.Context(), bd, auth.PubKey); err != nil { if err := bs.Store.Keep(r.Context(), bd, auth.PubKey); err != nil {
blossomError(w, "failed to save event: "+err.Error(), 400) blossomError(w, "failed to save blob descriptor: "+err.Error(), 400)
return return
} }