diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-09 20:47:34 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-09 20:47:34 -0400 |
commit | b24c475d8cd36af860fc374b0c5621b0d096be1d (patch) | |
tree | e046019a983133a5abb38db08d2b9679adc7a18f /src/server/apis/google/GoogleApiServerUtils.ts | |
parent | 0c987a119fc6baa344cd6a8d229556c02af64898 (diff) |
nearly finished transferring images between text notes and google docs
Diffstat (limited to 'src/server/apis/google/GoogleApiServerUtils.ts')
-rw-r--r-- | src/server/apis/google/GoogleApiServerUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/apis/google/GoogleApiServerUtils.ts b/src/server/apis/google/GoogleApiServerUtils.ts index ac8023ce1..e0bd8a800 100644 --- a/src/server/apis/google/GoogleApiServerUtils.ts +++ b/src/server/apis/google/GoogleApiServerUtils.ts @@ -42,7 +42,7 @@ export namespace GoogleApiServerUtils { export type ApiResponse = Promise<GaxiosResponse>; export type ApiRouter = (endpoint: Endpoint, parameters: any) => ApiResponse; - export type ApiHandler = (parameters: any) => ApiResponse; + export type ApiHandler = (parameters: any, methodOptions?: any) => ApiResponse; export type Action = "create" | "retrieve" | "update"; export type Endpoint = { get: ApiHandler, create: ApiHandler, batchUpdate: ApiHandler }; |