Fixing anilist update about reaction type

This commit is contained in:
Zoe Roux
2022-03-02 15:21:05 +01:00
parent 483f0db94e
commit b5fb2efb21
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -100,6 +100,8 @@ export enum ReactionType {
Pause,
// Anilist
ToggleFavourite,
UpdateAbout,
// Twitter
followUser,
postTweet,
replyToTweet,
+1 -1
View File
@@ -11,7 +11,7 @@ export class Anilist extends BaseService {
this._client = new GraphQLClient("https://graphql.anilist.co/");
}
@reaction(ReactionType.ToggleFavourite, ["about"])
@reaction(ReactionType.UpdateAbout, ["about"])
async updateAbout(params: any): Promise<PipelineEnv> {
await this._client.request(gql`
mutation($about: Int) {