Update
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -46,7 +46,7 @@ export class XPwService implements OnModuleDestroy {
|
||||
chromiumSandbox: true,
|
||||
viewport: {
|
||||
width: width,
|
||||
height: height,
|
||||
height: height-100,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user