aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/util/TooltipTextMenu.tsx4
-rw-r--r--src/server/apis/google/GoogleApiServerUtils.ts4
-rw-r--r--src/server/index.ts2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx
index e162ad475..c82d3bc63 100644
--- a/src/client/util/TooltipTextMenu.tsx
+++ b/src/client/util/TooltipTextMenu.tsx
@@ -841,11 +841,11 @@ export class TooltipTextMenu {
}
}
- update(view: EditorView, lastState: EditorState | undefined) { this.updateFromDash(view, lastState, this.editorProps) }
+ update(view: EditorView, lastState: EditorState | undefined) { this.updateFromDash(view, lastState, this.editorProps); }
//updates the tooltip menu when the selection changes
public updateFromDash(view: EditorView, lastState: EditorState | undefined, props: any) {
if (!view) {
- console.log("no editor? why?")
+ console.log("no editor? why?");
return;
}
this.view = view;
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(