diff --git a/nip34/state.go b/nip34/state.go index 6865ead..0ef4c0f 100644 --- a/nip34/state.go +++ b/nip34/state.go @@ -37,7 +37,7 @@ func ParseRepositoryState(event nostr.Event) RepositoryState { if strings.HasPrefix(tag[0], "refs/heads/") { st.Branches[tag[0][11:]] = tag[1] } else if strings.HasPrefix(tag[0], "refs/tags/") { - st.Branches[tag[0][10:]] = tag[1] + st.Tags[tag[0][10:]] = tag[1] } } }