mirror of
https://github.com/studiokaiji/nostr-webhost.git
synced 2026-02-21 06:54:38 +01:00
Merge pull request #10 from jiftechnify/fix-get-mtag
Fix the code getting m-tag
This commit is contained in:
@@ -43,7 +43,7 @@ func Start(port string) {
|
||||
case consts.KindWebhostPicture:
|
||||
{
|
||||
eTag := ev.Tags.GetFirst([]string{"e"})
|
||||
mTag := ev.Tags.GetFirst([]string{"e"})
|
||||
mTag := ev.Tags.GetFirst([]string{"m"})
|
||||
|
||||
if eTag == nil || mTag == nil {
|
||||
ctx.String(http.StatusBadRequest, http.StatusText((http.StatusBadRequest)))
|
||||
|
||||
Reference in New Issue
Block a user