Update
This commit is contained in:
@@ -348,11 +348,16 @@ export class XPosterRouterService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (method === 'browser' && account.browser) {
|
if (method === 'browser' && account.browser) {
|
||||||
return await this.browserSvc.postReply(
|
return await this.browserProfileSvc.postReply(
|
||||||
account.browser,
|
account.browser,
|
||||||
params.tweetUrl,
|
params.tweetUrl,
|
||||||
params.text
|
params.text
|
||||||
);
|
);
|
||||||
|
// return await this.browserSvc.postReply(
|
||||||
|
// account.browser,
|
||||||
|
// params.tweetUrl,
|
||||||
|
// params.text
|
||||||
|
// );
|
||||||
}
|
}
|
||||||
return {success: false, error: `Method ${method} not configured`};
|
return {success: false, error: `Method ${method} not configured`};
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
@@ -393,11 +398,16 @@ export class XPosterRouterService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (method === 'browser' && account.browser) {
|
if (method === 'browser' && account.browser) {
|
||||||
return await this.browserSvc.postQuote(
|
return await this.browserProfileSvc.postQuote(
|
||||||
account.browser,
|
account.browser,
|
||||||
params.tweetUrl!,
|
params.tweetUrl!,
|
||||||
params.text
|
params.text
|
||||||
);
|
);
|
||||||
|
// return await this.browserSvc.postQuote(
|
||||||
|
// account.browser,
|
||||||
|
// params.tweetUrl!,
|
||||||
|
// params.text
|
||||||
|
// );
|
||||||
}
|
}
|
||||||
return {success: false, error: `Method ${method} not configured`};
|
return {success: false, error: `Method ${method} not configured`};
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export class XPwService implements OnModuleDestroy {
|
|||||||
chromiumSandbox: true,
|
chromiumSandbox: true,
|
||||||
viewport: {
|
viewport: {
|
||||||
width: width,
|
width: width,
|
||||||
height: height,
|
height: height-100,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user