Migrating to uuid v4
This commit is contained in:
parent
1270ae6817
commit
f06abfae4c
3 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
import {App} from "../Server/sifrr.server";
|
||||
|
||||
import {uuid} from "uuidv4";
|
||||
import {v4} from "uuid";
|
||||
import {HttpRequest, HttpResponse} from "uWebSockets.js";
|
||||
import {BaseController} from "./BaseController";
|
||||
import { Readable } from 'stream'
|
||||
|
@ -51,7 +51,7 @@ export class FileController extends BaseController {
|
|||
})
|
||||
|
||||
try {
|
||||
const audioMessageId = uuid();
|
||||
const audioMessageId = v4();
|
||||
|
||||
const params = await res.formData({
|
||||
onFile: (fieldname: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue