From 4fde4d43b8548878e07404bcad99d56a5c142595 Mon Sep 17 00:00:00 2001 From: imabdulbasit Date: Thu, 27 Jul 2023 04:04:05 +0500 Subject: [PATCH] Fix: Update total_mints --- api/src/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/events.rs b/api/src/events.rs index d218634..29b5652 100644 --- a/api/src/events.rs +++ b/api/src/events.rs @@ -332,7 +332,7 @@ impl Processor { let mut collection_am: collections::ActiveModel = collection.clone().into(); collection_am.total_mints = Set(collection.total_mints + 1); - + collection_am.update(self.db.get()).await?; Ok(()) }