Update base_service.py
This commit is contained in:
@@ -51,7 +51,7 @@ class BaseService:
|
||||
return Transaction.create_transaction(
|
||||
transaction_id = validated_data.get("transactionId"),
|
||||
ref_id = validated_data.get("refId") or validated_data.get("accountId"),
|
||||
ref_model = validated_data.get("refModel", "Account"),
|
||||
ref_model = validated_data.get("refModel", "account"),
|
||||
type = cls.TRANSACTION_TYPE,
|
||||
channel = validated_data.get("channel"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user