|
|
@@ -56,8 +56,10 @@ export class RegisterService implements GrowiCommandProcessor {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
|
- async upsertOrderRecord(orderRepository: OrderRepository, installation: Installation | undefined, payload: any): Promise<void> {
|
|
|
+ async upsertOrderRecord(
|
|
|
+ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
|
+ authorizeResult:AuthorizeResult, orderRepository: OrderRepository, installation: Installation | undefined, payload: any,
|
|
|
+ ): Promise<void> {
|
|
|
const inputValues = payload.view.state.values;
|
|
|
const inputGrowiUrl = inputValues.growiDomain.contents_input.value;
|
|
|
const inputGrowiAccessToken = inputValues.growiAccessToken.contents_input.value;
|
|
|
@@ -75,10 +77,6 @@ export class RegisterService implements GrowiCommandProcessor {
|
|
|
installation: installation?.id, growiUrl: inputGrowiUrl, growiAccessToken: inputGrowiAccessToken, proxyAccessToken: inputProxyAccessToken,
|
|
|
});
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
|
- async showProxyURL(authorizeResult: AuthorizeResult, payload: any): Promise<void> {
|
|
|
|
|
|
// TODO: implement for when proxy URL is undefined by GW-5834
|
|
|
let proxyURL;
|