Update packages/core/admin/server/controllers/api-token.js

Co-authored-by: Ben Irvin <ben@innerdvations.com>
This commit is contained in:
Jean-Sébastien Herbaux 2023-02-03 16:21:55 +01:00 committed by GitHub
parent e10cbe8885
commit 1d791e47ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,6 @@ module.exports = {
* as a string. This way we avoid issues with integers in the db.
*/
if (!!nameAlreadyTaken && !stringEquals(nameAlreadyTaken.id, id)) {
console.log('here');
throw new ApplicationError('Name already taken');
}
}