1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-29 09:55:35 +02:00

Fix previous fix

This commit is contained in:
binwiederhier 2023-06-01 16:01:39 -04:00
parent dc8932cd95
commit f58c1e4c84
5 changed files with 38 additions and 43 deletions

View file

@ -249,10 +249,6 @@ func parseTopicMessageCommand(c *cli.Context) (topic string, message string, com
if c.String("message") != "" {
message = c.String("message")
}
if !topicRegex.MatchString(topic) {
err = fmt.Errorf("topic %s contains invalid characters", topic)
return
}
return
}