reverting unecessary changes
MODIFY
src/server/rest/v1/service/UserService.ts
src/server/rest/v1/service/UserService.ts
@@ -926,7 +926,7 @@ export default class UserService {
} catch (error) {
await Logging.logError({
tenantID: tenant.id, action,
- module: MODULE_NAME, method: 'updateUserBillingData',
+ module: MODULE_NAME, method: 'syncUserAndUpdateBillingData',
user: loggedUser, actionOnUser: user,
message: 'User cannot be updated in billing system',
detailedMessages: { error: error.stack }

MODIFY
test/api/BillingTest.ts
test/api/BillingTest.ts
@@ -331,7 +331,6 @@ describeif(isBillingProperlyConfigured)('Billing', () => {
fakeUser
);
billingTestHelper.createdUsers.push(fakeUser);
- await billingTestHelper.billingImpl.synchronizeUser(fakeUser);
// Let's check that the corresponding billing user exists as well (a Customer in the STRIPE DB)
let billingUser = await billingTestHelper.billingImpl.getUser(fakeUser);
expect(billingUser).to.be.not.null;

reverting unecessary changes