Skip to content
Snippets Groups Projects
Commit 1cb89d30 authored by whidix's avatar whidix
Browse files

fix: username ldap userid

parent 380d514a
Branches
Tags v0.17.20
No related merge requests found
......@@ -550,7 +550,7 @@ builder.mutationField('syncUserLdap', (t) =>
if (userLdap.genre !== 404) {
const newUid = await createUid(userDb);
await prisma.user.update({
where: { uid },
where: { uid: userDb.uid },
data: { uid: newUid },
});
console.info(`Updated uid: ${uid} -> ${newUid}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment