Add geoloc in get
This commit is contained in:
parent
30f4585223
commit
1a636302fd
BIN
lib/.gva.py.swp
BIN
lib/.gva.py.swp
Binary file not shown.
|
@ -6,7 +6,7 @@ from lib.natools import fmt, sign, get_privkey
|
|||
from gql import gql, Client
|
||||
from gql.transport.aiohttp import AIOHTTPTransport
|
||||
|
||||
PUBKEY_REGEX = "(?![OIl])[1-9A-Za-z]{42,45}"
|
||||
PUBKEY_REGEX = "(?![OIl])[0-9A-Za-z]{42,45}"
|
||||
|
||||
class Transaction:
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ class Profiles(CesiumCommon):
|
|||
}
|
||||
},"from":0,
|
||||
"size":100,
|
||||
"_source":["title", avatar,"description","city","address","socials.url","creationTime","membersCount","type"],
|
||||
"_source":["title", avatar,"description","city","address","socials.url","creationTime","membersCount","type","geoPoint"],
|
||||
"indices_boost":{"user":100,"page":1,"group":0.01
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue