chore: Make packages/medusa/src/services/fulfillment-provider.js pass linting #505

This commit is contained in:
saurabh singh
2021-10-14 22:25:42 +05:30
parent 144eec3680
commit 7941338217
2 changed files with 3 additions and 3 deletions
@@ -28,7 +28,7 @@ class FulfillmentProviderService {
async listFulfillmentOptions(providers) {
const result = await Promise.all(
providers.map(async p => {
providers.map(async (p) => {
const provider = await this.retrieveProvider(p)
return {
provider_id: p,
@@ -41,7 +41,8 @@ class FulfillmentProviderService {
}
/**
* @returns {FulfillmentService} the payment fulfillment provider
* @param {string} provider_id - the provider id
* @return {FulfillmentService} the payment fulfillment provider
*/
retrieveProvider(provider_id) {
try {