feat: add cron support
This commit is contained in:
@@ -17,6 +17,7 @@ function getIndexName(index) {
|
||||
|
||||
export async function createIndex(client, index) {
|
||||
const realIndex = getIndexName(index);
|
||||
|
||||
return client.indices
|
||||
.create({
|
||||
index: realIndex,
|
||||
|
||||
Reference in New Issue
Block a user