mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor: Use string ids on Credentials, Workflows, Tags, and Executions DB entities (#5041)
This commit is contained in:
committed by
GitHub
parent
8bee04cd2a
commit
ee28213538
@@ -39,7 +39,7 @@ export = {
|
||||
const savedCredential = await saveCredential(newCredential, req.user, encryptedData);
|
||||
|
||||
// LoggerProxy.verbose('New credential created', {
|
||||
// credentialId: newCredential.id,
|
||||
// credentialsId: newCredential.id,
|
||||
// ownerId: req.user.id,
|
||||
// });
|
||||
|
||||
@@ -77,8 +77,6 @@ export = {
|
||||
}
|
||||
|
||||
await removeCredential(credential);
|
||||
credential.id = Number(credentialId);
|
||||
|
||||
return res.json(sanitizeCredentials(credential));
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user