fix(InteractionManager): Use WEB for all actions

This commit is contained in:
Luan
2024-10-26 17:42:02 -03:00
parent bb3f114aa3
commit d9ac99d332

View File

@@ -29,7 +29,6 @@ export default class InteractionManager {
const action = await this.#actions.execute(
LikeEndpoint.PATH, LikeEndpoint.build({
client: 'ANDROID',
target: { video_id }
})
);
@@ -49,7 +48,6 @@ export default class InteractionManager {
const action = await this.#actions.execute(
DislikeEndpoint.PATH, DislikeEndpoint.build({
client: 'ANDROID',
target: { video_id }
})
);
@@ -69,7 +67,6 @@ export default class InteractionManager {
const action = await this.#actions.execute(
RemoveLikeEndpoint.PATH, RemoveLikeEndpoint.build({
client: 'ANDROID',
target: { video_id }
})
);
@@ -89,7 +86,6 @@ export default class InteractionManager {
const action = await this.#actions.execute(
SubscribeEndpoint.PATH, SubscribeEndpoint.build({
client: 'ANDROID',
channel_ids: [ channel_id ],
params: 'EgIIAhgA'
})
@@ -110,7 +106,6 @@ export default class InteractionManager {
const action = await this.#actions.execute(
UnsubscribeEndpoint.PATH, UnsubscribeEndpoint.build({
client: 'ANDROID',
channel_ids: [ channel_id ],
params: 'CgIIAhgA'
})
@@ -143,8 +138,7 @@ export default class InteractionManager {
const action = await this.#actions.execute(
CreateCommentEndpoint.PATH, CreateCommentEndpoint.build({
comment_text: text,
create_comment_params: params,
client: 'ANDROID'
create_comment_params: params
})
);
@@ -164,7 +158,6 @@ export default class InteractionManager {
const response = await this.#actions.execute(
PerformCommentActionEndpoint.PATH, PerformCommentActionEndpoint.build({
client: 'ANDROID',
actions: [ target_action ]
})
);