chore: small adjust
This commit is contained in:
parent
e424a23c3b
commit
bbeda11fc6
3 changed files with 189 additions and 2 deletions
|
|
@ -634,7 +634,7 @@ export class StorageController extends Controller {
|
|||
const pathname = body.path.join("/") + `/${body.file}`;
|
||||
|
||||
const search = await esClient.search<StorageFile & { attachment: Record<string, string> }>({
|
||||
index: DEFAULT_INDEX!,
|
||||
index: DEFAULT_INDEX,
|
||||
query: {
|
||||
match: { pathname },
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue