Skip to content

Commit 08edad6

Browse files
committed
Insert try commit date into DB
1 parent fc9dd35 commit 08edad6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

database/src/pool/postgres.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,7 @@ where
760760
let (name, date, ty) = match artifact {
761761
ArtifactId::Commit(commit) => (
762762
commit.sha.to_string(),
763-
if commit.is_try() {
764-
None
765-
} else {
766-
Some(commit.date.0)
767-
},
763+
Some(commit.date.0),
768764
if commit.is_try() { "try" } else { "master" },
769765
),
770766
ArtifactId::Tag(a) => (a.clone(), None, "release"),

0 commit comments

Comments
 (0)