Fixed JSON version issue in commit message
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
// Create commit message
|
// Create commit message
|
||||||
const protocolName = data.metadata.protocol || 'Unknown Protocol';
|
const protocolName = data.metadata.protocol || 'Unknown Protocol';
|
||||||
const analystName = data.metadata.analyst || 'Anonymous';
|
const analystName = data.metadata.analyst || 'Anonymous';
|
||||||
const commitMessage = `Bicorder reading: ${protocolName} by ${analystName} | Source: Protocol Bicorder v${APP_VERSION}`;
|
const commitMessage = `Bicorder reading: ${protocolName} by ${analystName} | Source: Protocol Bicorder v${data.version}`;
|
||||||
|
|
||||||
// Prepare the content (base64 encoded)
|
// Prepare the content (base64 encoded)
|
||||||
const jsonContent = JSON.stringify(data, null, 2);
|
const jsonContent = JSON.stringify(data, null, 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user