Updated the increment mutation to take a number instead of a boolean. For instances when more than 1 group is detected. Like when parsing embeds and captions.
Main / build-and-push-docker-image (20.x) (push) Successful in 4m23s
Main / build-and-push-docker-image (20.x) (push) Successful in 4m23s
This commit is contained in:
@@ -29,7 +29,7 @@ feature.hears(
|
||||
ctx.msg.delete();
|
||||
|
||||
return await urql
|
||||
.mutation(increment, { link: true, mutationKey })
|
||||
.mutation(increment, { link: 1, mutationKey })
|
||||
.toPromise()
|
||||
.then(async () => {
|
||||
if (ctx.msg && ctx.chat) {
|
||||
|
||||
@@ -29,7 +29,7 @@ feature.hears(
|
||||
ctx.msg.delete();
|
||||
|
||||
return await urql
|
||||
.mutation(increment, { link: true, mutationKey })
|
||||
.mutation(increment, { link: 1, mutationKey })
|
||||
.toPromise()
|
||||
.then(async () => {
|
||||
if (ctx.msg && ctx.chat) {
|
||||
|
||||
@@ -29,7 +29,7 @@ feature.hears(
|
||||
ctx.msg.delete();
|
||||
|
||||
return await urql
|
||||
.mutation(increment, { link: true, mutationKey })
|
||||
.mutation(increment, { link: 1, mutationKey })
|
||||
.toPromise()
|
||||
.then(async () => {
|
||||
if (ctx.msg && ctx.chat) {
|
||||
|
||||
Reference in New Issue
Block a user