Use the event.id as identifier in typesense

This commit is contained in:
@s.roertgen 2025-03-28 15:08:09 +01:00
parent 47b5e2fb56
commit 36952a5ffe
2 changed files with 3 additions and 5 deletions

View file

@ -243,7 +243,7 @@ func NostrToAMB(event *nostr.Event) (*AMBMetadata, error) {
switch tag[0] {
case "d":
if len(tag) >= 2 {
amb.ID = tag[1]
amb.ID = event.ID
amb.D = tag[1]
}
case "name":