Skip to content

Commit fe193b8

Browse files
authored
Update elastic.js
merge vonflict resolutoin
1 parent 99ef78e commit fe193b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/elasticsearch/elastic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ es.deleteAccount = async (account) => {
7979
null,
8080
authorization
8181
);
82-
const r3 = await sendESRequest(`/${account.username}-*`, "DELETE");
82+
const r3 = await sendFetch(`/${account.username}-*`, "DELETE", null, authorization);
8383
const err = r1.error || r2.error;
8484
if (err || !r1.found || !r2.found) {
8585
logger.error("Deleting Elasticsearch user failed");

0 commit comments

Comments
 (0)