forked from tanner/qotnews
add source to searchable attributes.
This commit is contained in:
parent
408e2870b2
commit
d588a60930
|
@ -35,7 +35,7 @@ def update_rankings():
|
|||
|
||||
def update_attributes():
|
||||
try:
|
||||
json = ['title', 'url', 'author', 'link', 'id']
|
||||
json = ['title', 'url', 'author', 'link', 'id', 'source']
|
||||
r = requests.post(MEILI_URL + 'indexes/qotnews/settings/searchable-attributes', json=json, timeout=2)
|
||||
if r.status_code != 202:
|
||||
raise Exception('Bad response code ' + str(r.status_code))
|
||||
|
|
Loading…
Reference in New Issue
Block a user