feat(medusa): Expose an activeManager_ getter in TransactionBaseService (#3256)
This commit is contained in:
1 parent
75924b682f
commit
aefe5aa133
68 files changed
+514
-839
No files matched your search
@@ -16,15 +16,13 @@ type InjectedDependencies = {
|
||||
* Can authenticate a user based on email password combination
|
||||
*/
|
||||
class AuthService extends TransactionBaseService {
|
||||
protected manager_: EntityManager
|
||||
protected transactionManager_: EntityManager | undefined
|
||||
protected readonly userService_: UserService
|
||||
protected readonly customerService_: CustomerService
|
||||
|
||||
constructor({ manager, userService, customerService }: InjectedDependencies) {
|
||||
constructor({ userService, customerService }: InjectedDependencies) {
|
||||
// eslint-disable-next-line prefer-rest-params
|
||||
super(arguments[0])
|
||||
|
||||
this.manager_ = manager
|
||||
this.userService_ = userService
|
||||
this.customerService_ = customerService
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user