diff options
author | 2022-07-16 11:04:31 +0700 | |
---|---|---|
committer | 2022-07-16 11:04:31 +0700 | |
commit | 0741fc984903b14ae1c3bceabbbae0ea05f22d8d (patch) | |
tree | c05ba7fcef10c42407293dd783a501c512771385 /source/github-helpers/api.ts | |
parent | 68bc768230935283e2fdc353a8bcdc2d4b5863fa (diff) | |
download | refined-github-0741fc984903b14ae1c3bceabbbae0ea05f22d8d.tar.gz refined-github-0741fc984903b14ae1c3bceabbbae0ea05f22d8d.tar.zst refined-github-0741fc984903b14ae1c3bceabbbae0ea05f22d8d.zip |
Don't show `update-pr-from-base-branch` when there are conflicts (#5768)
Diffstat (limited to 'source/github-helpers/api.ts')
-rw-r--r-- | source/github-helpers/api.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/github-helpers/api.ts b/source/github-helpers/api.ts index 47a2a935..13f56f58 100644 --- a/source/github-helpers/api.ts +++ b/source/github-helpers/api.ts @@ -184,6 +184,7 @@ export const v4 = mem(async ( headers: { 'User-Agent': 'Refined GitHub', Authorization: `bearer ${personalToken}`, + Accept: 'application/vnd.github.merge-info-preview+json', }, method: 'POST', body: JSON.stringify({query: `{${query}}`}), |