diff --git a/src/helpers/transferCredits/index.ts b/src/helpers/transferCredits/index.ts index f349b4b..46dcf8e 100644 --- a/src/helpers/transferCredits/index.ts +++ b/src/helpers/transferCredits/index.ts @@ -91,7 +91,7 @@ export default async (guild: Guild, from: User, to: User, amount: number) => { }, }, }, - creditsEarned: +amount, + creditsEarned: amount, }, where: { userId_guildId: {