Skip to content

Commit c72168a

Browse files
authored
fix(webui): Remove MongoDB type in presto utilities fixing build error. (#1167)
1 parent 06f5fe5 commit c72168a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/webui/server/src/routes/api/presto-search/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const insertPrestoRowsToMongo = (
3838
columns: {name: string}[],
3939
searchJobId: string,
4040
mongoDb: Db
41-
): Promise<InsertManyResult<Document>> => {
41+
): Promise<InsertManyResult> => {
4242
const collection = mongoDb.collection(searchJobId);
4343
const resultDocs = data.map((row) => prestoRowToObject(row, columns));
4444
return collection.insertMany(resultDocs);

0 commit comments

Comments
 (0)