Fix typo in elastic.c

This commit is contained in:
simon987 2020-08-25 09:28:28 -04:00
parent a32c68cba8
commit 9aead9389a
2 changed files with 2 additions and 2 deletions

View File

@ -410,7 +410,7 @@ void elastic_init(int force_reset) {
cJSON *elastic_get_document(const char *uuid_str) {
char url[4096];
snprintf(url, sizeof(url), "%s/%s/_doc/%s", WebCtx.es_url, IndexCtx.es_index, uuid_str);
snprintf(url, sizeof(url), "%s/%s/_doc/%s", WebCtx.es_url, WebCtx.es_index, uuid_str);
response_t *r = web_get(url, 3);
cJSON *json = NULL;

File diff suppressed because one or more lines are too long