summaryrefslogtreecommitdiff
path: root/source/github-helpers/api.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers/api.ts')
-rw-r--r--source/github-helpers/api.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/github-helpers/api.ts b/source/github-helpers/api.ts
index d5555024..cb77799f 100644
--- a/source/github-helpers/api.ts
+++ b/source/github-helpers/api.ts
@@ -74,7 +74,7 @@ const api4 = pageDetect.isEnterprise() ?
interface GHRestApiOptions {
ignoreHTTPStatus?: boolean;
- method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
+ method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
body?: JsonObject;
headers?: HeadersInit;
json?: boolean;