Remove return statement
This commit is contained in:
parent
79db49d29c
commit
dc13138cd8
4
http.go
4
http.go
|
@ -83,12 +83,12 @@ func Serve() {
|
|||
_, err = webmentionClient.SendWebmention(endpoint, id, inReplyTo)
|
||||
if err != nil {
|
||||
log.Println("Sending webmention to " + inReplyTo + " failed")
|
||||
return
|
||||
}
|
||||
} else {
|
||||
log.Println("Sent webmention to " + inReplyTo)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Return 201
|
||||
w.WriteHeader(http.StatusCreated)
|
||||
}
|
||||
|
|
Reference in New Issue