fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) (#8363)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -43,7 +43,7 @@ export class EECredentialsService extends CredentialsService {
|
||||
where.userId = user.id;
|
||||
}
|
||||
|
||||
return Container.get(SharedCredentialsRepository).findOne({
|
||||
return await Container.get(SharedCredentialsRepository).findOne({
|
||||
where,
|
||||
relations,
|
||||
});
|
||||
@@ -79,6 +79,6 @@ export class EECredentialsService extends CredentialsService {
|
||||
}),
|
||||
);
|
||||
|
||||
return transaction.save(newSharedCredentials);
|
||||
return await transaction.save(newSharedCredentials);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user