This commit is contained in:
a-ill
2023-07-20 00:37:48 +03:00
parent 6c48a726d1
commit de8d34b725
3 changed files with 26 additions and 33 deletions

View File

@@ -212,16 +212,10 @@ function political_compass()
end
function groups_add_post()
@info rawpayload()
data = collect(JSON3.read(rawpayload()))
push!(data,1)
dict = Dict(zip(["country","state","town","latitude","longitude","contact","members"],data))
insert_into_table("groups",dict)
end
end
#=
json_string = """["United States","California",null,38.24508142880928,-120.58593750000001,""]"""
data = JSON3.read(json_string)´
=#
end