Skip to content

Commit

Permalink
Merge pull request #164 from holaplex/espi/charge-collection-compressed
Browse files Browse the repository at this point in the history
Fix lookup of transfer charge on transfer asset callback
  • Loading branch information
kespinola authored Aug 3, 2023
2 parents fb9acf6 + bf257a4 commit 0e547a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ impl Processor {
let transfer_id = Uuid::from_str(&id)?;

let transfer_charge = transfer_charges::Entity::find()
.filter(transfer_charges::Column::CreditsDeductionId.eq(transfer_id))
.filter(transfer_charges::Column::Id.eq(transfer_id))
.one(conn)
.await?
.context("failed to load transfer charge from db")?;
Expand Down

0 comments on commit 0e547a5

Please sign in to comment.