aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/apis/google/GoogleApiServerUtils.ts4
-rw-r--r--src/server/index.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/apis/google/GoogleApiServerUtils.ts b/src/server/apis/google/GoogleApiServerUtils.ts
index 2f29cb95f..963c7736a 100644
--- a/src/server/apis/google/GoogleApiServerUtils.ts
+++ b/src/server/apis/google/GoogleApiServerUtils.ts
@@ -86,7 +86,7 @@ export namespace GoogleApiServerUtils {
resolve(new google.auth.OAuth2(client_id, client_secret, redirect_uris[0]));
});
});
- }
+ };
export const GenerateAuthenticationUrl = async (information: CredentialInformation) => {
const client = await RetrieveOAuthClient(information);
@@ -109,7 +109,7 @@ export namespace GoogleApiServerUtils {
resolve({ token, client: oAuth2Client });
});
});
- }
+ };
export const RetrieveCredentials = (information: CredentialInformation) => {
return new Promise<TokenResult>((resolve, reject) => {
diff --git a/src/server/index.ts b/src/server/index.ts
index 077002894..5da05d9a7 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -924,7 +924,7 @@ app.post(RouteStore.googlePhotosMediaUpload, async (req, res) => {
const failedCount = failed.length;
if (failedCount) {
- console.log(`Unable to upload ${failedCount} image${failedCount === 1 ? "" : "s"} to Google's servers`)
+ console.log(`Unable to upload ${failedCount} image${failedCount === 1 ? "" : "s"} to Google's servers`);
}
GooglePhotosUploadUtils.CreateMediaItems(newMediaItems, req.body.album).then(