fix: api /super-admin/{id} memory cache
This commit is contained in:
parent
7c70229579
commit
1a324af483
5 changed files with 112 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { NextFunction, Request, Response } from "express";
|
||||
import { Client } from "@elastic/elasticsearch";
|
||||
import { logMemoryStore } from "../utils/log-memory-store";
|
||||
import { logMemoryStore } from "../utils/LogMemoryStore";
|
||||
|
||||
if (!process.env.ELASTICSEARCH_INDEX) {
|
||||
throw new Error("Require ELASTICSEARCH_INDEX to store log.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue