bugfix
This commit is contained in:
parent
3a5dfb1448
commit
9a5edac1ad
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ class CategoryDepositSubmitAPIView(generics.CreateAPIView):
|
|||
category = get_object_or_404(Category.objects.all(), uuid=category_uuid)
|
||||
else:
|
||||
category = None
|
||||
wallet = Wallet.objects.get_or_create(owner_uuid=application.uuid, owner_type=TypeChoices.APPLICATION,
|
||||
wallet, _ = Wallet.objects.get_or_create(owner_uuid=application.uuid, owner_type=TypeChoices.APPLICATION,
|
||||
category=category)
|
||||
instance = serializer.save(payer_wallet=wallet, application=application)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue