mirror of
https://github.com/edufeed-org/amb-relay.git
synced 2025-12-10 00:34:33 +00:00
Use the event.id as identifier in typesense
This commit is contained in:
parent
47b5e2fb56
commit
36952a5ffe
2 changed files with 3 additions and 5 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue