Skip to content

Commit ecc6f99

Browse files
committed
Put more information into the commit
1 parent dd3e2be commit ecc6f99

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/electron.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -4473,7 +4473,14 @@ async function startServices ( ) {
44734473
app.post( "/http_post_commit_code" , async function (req, res) {
44744474
let ipfsHash = req.body.value.code_id;
44754475
let code = await yz.getCodeForCommit(dbsearch, ipfsHash)
4476-
let newCode = yz.helpers.insertCodeString(code,"commit",{})
4476+
let newCode = yz.helpers.insertCodeString(code,"commit",
4477+
{
4478+
title: req.body.value.header,
4479+
description: req.body.value.description,
4480+
num_commits: 7,
4481+
first_commit: "Qmx76328…",
4482+
last_commit: "Qmv678347863…"
4483+
})
44774484
let saveResult = await yz.saveCodeV3(
44784485
dbsearch,
44794486
newCode,

0 commit comments

Comments
 (0)