fix: disable commit diff (speedup) (#428)

This commit is contained in:
Denys Konovalov 2023-01-24 22:08:04 +01:00 committed by GitHub
parent 5839aaec2a
commit 8d886cbd92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ export default class API {
const result: ReposListCommitsResponse = await this.request(
`${this.originRepoURL}/commits`,
{
params: { path, sha: this.branch },
params: { path, sha: this.branch, stat: 'false' },
},
);
const { commit } = result[0];