formbricks / oss.gg

Gamify Open Source Contributions
https://oss.gg
MIT License
44 stars 25 forks source link

[BUG] /award stopped working #92

Closed jobenjada closed 4 months ago

jobenjada commented 4 months ago

Issue Summary

hey!

/award does not work anymore:

image

Here is the error message:

{"error":"Error: PrismaClientKnownRequestError: \nInvalid prisma.pointTransaction.create() invocation:\n\n\nUnique constraint failed on the fields: (userId,repositoryId,url)"}

higher points because its time-sensitive :)

Steps to Reproduce

  1. create a PR
  2. award points

Expected behavior

award the points and create point transaction

Other information

No response

Screenshots

No response

Desktop (please complete the following information)

- OS:
- Node:
- npm:
RA9 commented 4 months ago

/assign

oss-gg[bot] commented 4 months ago

You already have an open issue assigned to you here. Once that's closed or unassigned, only then we recommend you to take up more.

jobenjada commented 4 months ago

fixed it, wrong Trigger API host caused the error