mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
core: fix APINtfGetToken parsing (#760)
This commit is contained in:
committed by
GitHub
parent
904945a67d
commit
ca366d0b47
+1
-1
@@ -2285,7 +2285,7 @@ chatCommandP =
|
||||
<|> "/_call status @" *> (APICallStatus <$> A.decimal <* A.space <*> strP)
|
||||
<|> "/_profile " *> (APIUpdateProfile <$> jsonP)
|
||||
<|> "/_parse " *> (APIParseMarkdown . safeDecodeUtf8 <$> A.takeByteString)
|
||||
<|> "/_ntf get " $> APIGetNtfToken
|
||||
<|> "/_ntf get" $> APIGetNtfToken
|
||||
<|> "/_ntf register " *> (APIRegisterToken <$> strP_ <*> strP)
|
||||
<|> "/_ntf verify " *> (APIVerifyToken <$> strP <* A.space <*> strP <* A.space <*> strP)
|
||||
<|> "/_ntf delete " *> (APIDeleteToken <$> strP)
|
||||
|
||||
Reference in New Issue
Block a user