mirror of
https://github.com/lil-org/tokenary.git
synced 2025-01-07 06:00:44 +03:00
Update maybe json input check
This commit is contained in:
parent
de3277d22d
commit
0c4e90bfd8
@ -78,7 +78,7 @@ struct AccountsService {
|
||||
private extension String {
|
||||
|
||||
var maybeJSON: Bool {
|
||||
return hasPrefix("{") && hasSuffix("}")
|
||||
return hasPrefix("{") && hasSuffix("}") && count > 3
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user