Run Prettier JS #2 (#6796)

This commit is contained in:
Diamond Lewis
2020-07-13 17:13:08 -05:00
committed by GitHub
parent e6a6354b29
commit 142eaa71bd
40 changed files with 323 additions and 330 deletions

View File

@@ -32,7 +32,7 @@ function validateWithAppStore(url, receipt) {
headers: {
'Content-Type': 'application/json',
},
}).then((httpResponse) => {
}).then(httpResponse => {
const body = httpResponse.data;
if (body && body.status === 0) {
// No need to pass anything, status is OK
@@ -106,13 +106,13 @@ export class IAPValidationRouter extends PromiseRouter {
() => {
return successCallback();
},
(error) => {
error => {
if (error.status == 21007) {
return validateWithAppStore(IAP_SANDBOX_URL, receipt).then(
() => {
return successCallback();
},
(error) => {
error => {
return errorCallback(error);
}
);