From c2b2348bd189e111a00267568149d0d55b0692be Mon Sep 17 00:00:00 2001 From: Matthias Betz <matthias.betz@hft-stuttgart.de> Date: Thu, 18 Jul 2024 16:54:00 +0200 Subject: [PATCH] fix import --- routes/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/account.ts b/routes/account.ts index 81d44e99..f4e3faa6 100644 --- a/routes/account.ts +++ b/routes/account.ts @@ -2,7 +2,7 @@ import fs from 'fs' import async from 'async' import bcrypt from 'bcryptjs' import * as passportSaml from 'passport-saml' -import uuidv4 = require('uuid/v4'); +import { v4 as uuidv4 } from 'uuid'; import dbconn from '../config/dbconn' import methods from '../functions/methods' import gitlab from '../functions/gitlab' -- GitLab