forked from mtusi2026/mtusi2026lab5
на оценку 5
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function createIdempotencyKey(): string {
|
||||
const random = crypto.randomUUID().replaceAll("-", "");
|
||||
return `web-${Date.now().toString(36)}-${random}`;
|
||||
}
|
||||
Reference in New Issue
Block a user