From 106accb7b939c2b37b82012e93d5afa3cd7e030b Mon Sep 17 00:00:00 2001 From: Filip Lelek Date: Wed, 27 Nov 2024 11:24:25 +0100 Subject: [PATCH] Changes according to CR --- fplus-database/src/database/applications.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fplus-database/src/database/applications.rs b/fplus-database/src/database/applications.rs index 6f89cd7..3c6ae7a 100644 --- a/fplus-database/src/database/applications.rs +++ b/fplus-database/src/database/applications.rs @@ -277,6 +277,7 @@ pub async fn merge_application_by_pr_number( { application_active_model = application.into_active_model(); application_active_model.application = Set(pr_application.application.clone()); + application_active_model.sha = Set(pr_application.sha.clone()); application_active_model.update(&conn).await?; } else { application_active_model = pr_application.clone().into_active_model();