Skip to content

Commit 20d0f38

Browse files
authored
Merge pull request #157 from filecoin-project/fix/merge_application
fix merge application in db
2 parents 19ff6d7 + 8cf99a7 commit 20d0f38

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fplus-database/src/database/applications.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ pub async fn merge_application_by_pr_number(owner: String, repo: String, pr_numb
218218
hasher.update(application.as_bytes());
219219
let file_sha = format!("{:x}", hasher.finalize());
220220
merged_application.sha = Set(Some(file_sha));
221+
merged_application.application = Set(pr_application.application.clone());
221222

222223
pr_application.delete(&conn).await?;
223224

fplus-http-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fplus-http-server"
33
authors = ["jbesraa", "kokal33", "clriesco"]
4-
version = "1.3.0"
4+
version = "1.4.0"
55
description = "FPlus main http module"
66
license = "MIT OR Apache-2.0"
77
edition = "2021"

0 commit comments

Comments
 (0)