Skip to content

Commit 620263c

Browse files
authored
Merge pull request #429 from PromptPlace/develop
Develop
2 parents a046acd + 49dde4e commit 620263c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/purchases/repositories/purchase.complete.repository.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export const PurchaseCompleteRepository = {
66
createPurchaseTx(tx: Tx, data: {
77
user_id: number;
88
prompt_id: number;
9-
seller_id?: number;
109
amount: number;
1110
is_free: false;
1211
}) {

src/purchases/services/purchase.complete.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export const PurchaseCompleteService = {
3636
const purchase = await PurchaseCompleteRepository.createPurchaseTx(tx, {
3737
user_id: userId,
3838
prompt_id: prompt.prompt_id,
39-
seller_id: prompt.user_id,
4039
amount: serverPrice,
4140
is_free: false
4241
});

src/purchases/services/purchase.webhook.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export const WebhookService = {
5151
const purchase = await PurchaseCompleteRepository.createPurchaseTx(tx, {
5252
user_id: userId,
5353
prompt_id: prompt.prompt_id,
54-
seller_id: prompt.user_id,
5554
amount: serverPrice,
5655
is_free: false
5756
});

0 commit comments

Comments
 (0)