mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Fix faucet field for minified json
This commit is contained in:
parent
fda43d5bb0
commit
49c41fd303
|
@ -44,7 +44,7 @@ private fun createOutputFiles() {
|
|||
prettyJSONFile.writeText(chainJSONArray.toJsonString(prettyPrint = true))
|
||||
|
||||
val miniJSON = JsonObject()
|
||||
listOf("name", "chainId", "shortName", "networkId", "nativeCurrency", "rpc", "faucet", "infoURL").forEach { field ->
|
||||
listOf("name", "chainId", "shortName", "networkId", "nativeCurrency", "rpc", "faucets", "infoURL").forEach { field ->
|
||||
jsonObject[field]?.let { content ->
|
||||
miniJSON[field] = content
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user