diff --git a/src/x-poster/x-poster.router.service.ts b/src/x-poster/x-poster.router.service.ts index fd056ca..51be6f9 100644 --- a/src/x-poster/x-poster.router.service.ts +++ b/src/x-poster/x-poster.router.service.ts @@ -348,11 +348,16 @@ export class XPosterRouterService { } } if (method === 'browser' && account.browser) { - return await this.browserSvc.postReply( + return await this.browserProfileSvc.postReply( account.browser, params.tweetUrl, params.text ); + // return await this.browserSvc.postReply( + // account.browser, + // params.tweetUrl, + // params.text + // ); } return {success: false, error: `Method ${method} not configured`}; } catch (e: any) { @@ -393,11 +398,16 @@ export class XPosterRouterService { } } if (method === 'browser' && account.browser) { - return await this.browserSvc.postQuote( + return await this.browserProfileSvc.postQuote( account.browser, params.tweetUrl!, params.text ); + // return await this.browserSvc.postQuote( + // account.browser, + // params.tweetUrl!, + // params.text + // ); } return {success: false, error: `Method ${method} not configured`}; } catch (e: any) { diff --git a/src/x-poster/x.pw.service.ts b/src/x-poster/x.pw.service.ts index aad4d67..343f65c 100644 --- a/src/x-poster/x.pw.service.ts +++ b/src/x-poster/x.pw.service.ts @@ -46,7 +46,7 @@ export class XPwService implements OnModuleDestroy { chromiumSandbox: true, viewport: { width: width, - height: height, + height: height-100, } }); }