File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -504,10 +504,7 @@ defmodule Algora.Contracts do
504
504
provider_meta: Util . normalize_struct ( % { error: error } ) ,
505
505
status: :failed
506
506
} )
507
- |> Repo . update_with_activity ( % {
508
- type: :transaction_status_change ,
509
- meta: % { status: :failed , transaction_id: transaction . id }
510
- } )
507
+ |> Repo . update ( )
511
508
end
512
509
513
510
defp update_transaction_status ( transaction , record , status ) do
@@ -518,10 +515,7 @@ defmodule Algora.Contracts do
518
515
status: status ,
519
516
succeeded_at: if ( status == :succeeded , do: DateTime . utc_now ( ) )
520
517
} )
521
- |> Repo . update_with_activity ( % {
522
- type: :transaction_status_change ,
523
- meta: % { status: status , transaction_id: transaction . id }
524
- } )
518
+ |> Repo . update ( )
525
519
end
526
520
527
521
defp mark_contract_as_paid ( contract ) do
You can’t perform that action at this time.
0 commit comments