Skip to content

Commit

Permalink
fix(InteractionManager): Use WEB for all actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Oct 26, 2024
1 parent bb3f114 commit d9ac99d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/core/managers/InteractionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default class InteractionManager {

const action = await this.#actions.execute(
LikeEndpoint.PATH, LikeEndpoint.build({
client: 'ANDROID',
target: { video_id }
})
);
Expand All @@ -49,7 +48,6 @@ export default class InteractionManager {

const action = await this.#actions.execute(
DislikeEndpoint.PATH, DislikeEndpoint.build({
client: 'ANDROID',
target: { video_id }
})
);
Expand All @@ -69,7 +67,6 @@ export default class InteractionManager {

const action = await this.#actions.execute(
RemoveLikeEndpoint.PATH, RemoveLikeEndpoint.build({
client: 'ANDROID',
target: { video_id }
})
);
Expand All @@ -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'
})
Expand All @@ -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'
})
Expand Down Expand Up @@ -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
})
);

Expand All @@ -164,7 +158,6 @@ export default class InteractionManager {

const response = await this.#actions.execute(
PerformCommentActionEndpoint.PATH, PerformCommentActionEndpoint.build({
client: 'ANDROID',
actions: [ target_action ]
})
);
Expand Down

0 comments on commit d9ac99d

Please sign in to comment.