Spaces:
Runtime error
Runtime error
Download src/utils/tokenUtils.ts from sifars/automated-invoice-processing-agent-backend: direct link, hf CLI and curl.
- Browser
- Download file 123 Bytes
-
https://huggingface.co/spaces/sifars/automated-invoice-processing-agent-backend/resolve/main/src/utils/tokenUtils.ts
- Command line
-
hf download hf://spaces/sifars/automated-invoice-processing-agent-backend/src/utils/tokenUtils.ts
-
curl -L -o tokenUtils.ts https://huggingface.co/spaces/sifars/automated-invoice-processing-agent-backend/resolve/main/src/utils/tokenUtils.ts
123 Bytes
| import crypto from 'crypto'; | |
| export const generateResetToken = () => { | |
| return crypto.randomBytes(20).toString('hex'); | |
| }; |