Skip to content

Commit ea3758d

Browse files
committed
API module fix for commit compare bug (#90)
1 parent c659b34 commit ea3758d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git/gitCommitCompareApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function gitCommitCompare(repoPath, baseCommit, compareCommit) {
1313
if (stderr) {
1414
console.log(stderr);
1515
return {
16-
message: "Error occurred while fetching commit difference",
16+
message: stderr,
1717
};
1818
}
1919

global/gqlGlobalAPISchema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const globalAPISchema = new buildSchema(
120120
121121
type commitCompareType{
122122
message: String
123-
difference: [commitCompareFileType]!
123+
difference: [commitCompareFileType!]
124124
}
125125
126126
type compareCommitType{

0 commit comments

Comments
 (0)