flask-track-usage icon indicating copy to clipboard operation
flask-track-usage copied to clipboard

When using app.config['TRACK_USAGE_USE_FREEGEOIP'] = True on localhost cannot write to mongoldb

Open cityjumper opened this issue 4 years ago • 1 comments

I believe when writting to MongoDB one cannot have empty strings but the default values of localhost bring something like:

{ "businessName" : "", "businessWebsite" : "", "city" : "", "continent" : "", "country" : "", "countryCode" : "", "ipName" : "", "ipType" : "Residential", "isp" : "", "lat" : "", "lon" : "", "org" : "", "query" : "127.0.0.1", "region" : "", "status" : "success" }

Causing issues when testing the capabilities.

cityjumper avatar Dec 19 '20 22:12 cityjumper

any updates on this one ??

Sarthak001 avatar Jan 14 '22 08:01 Sarthak001