fix: Make packages/medusa/src/services/oauth.js pass linting (#604)

This commit is contained in:
Abhijeet Chatterjee authored and GitHub committed 2021-10-24 15:28:53 +02:00
1 parent 3e68069a89
commit 14608b0f68
2 files changed
+3 -5

No files matched your search

+3 -4
View File
@@ -1,5 +1,4 @@
import _ from "lodash"
import { Validator, MedusaError } from "medusa-core-utils"
import { MedusaError } from "medusa-core-utils"
import { OauthService } from "medusa-interfaces"
class Oauth extends OauthService {
@@ -85,7 +84,7 @@ class Oauth extends OauthService {
return this.update(app.id, {
data: authData,
}).then(result => {
}).then((result) => {
this.eventBus_.emit(
`${Oauth.Events.TOKEN_GENERATED}.${appName}`,
authData
@@ -109,7 +108,7 @@ class Oauth extends OauthService {
return this.update(app.id, {
data: authData,
}).then(result => {
}).then((result) => {
this.eventBus_.emit(
`${Oauth.Events.TOKEN_REFRESHED}.${appName}`,
authData