chore: MAKE LINIT HAPPT
This commit is contained in:
@@ -3,6 +3,7 @@ import { Buffer } from "node:buffer"
|
|||||||
import path from 'node:path'
|
import path from 'node:path'
|
||||||
import crypto from 'node:crypto'
|
import crypto from 'node:crypto'
|
||||||
import fs_sync from 'node:fs'
|
import fs_sync from 'node:fs'
|
||||||
|
import chalk from "chalk"
|
||||||
import { fileTypeFromBuffer } from 'file-type'
|
import { fileTypeFromBuffer } from 'file-type'
|
||||||
|
|
||||||
import config from "../config.ts"
|
import config from "../config.ts"
|
||||||
@@ -114,7 +115,7 @@ export default class FileManager {
|
|||||||
fileName,
|
fileName,
|
||||||
hash,
|
hash,
|
||||||
mime,
|
mime,
|
||||||
chatId,
|
chatId || null,
|
||||||
Date.now(),
|
Date.now(),
|
||||||
-1
|
-1
|
||||||
).lastInsertRowid
|
).lastInsertRowid
|
||||||
|
|||||||
Reference in New Issue
Block a user