diff options
author | 2020-08-16 06:59:14 -0400 | |
---|---|---|
committer | 2020-08-16 11:59:14 +0100 | |
commit | 9abd646c0b4fef53e291e42f1383f5f072c74331 (patch) | |
tree | 99e48ad884918be95cc5b65b42ac5d1a19baf233 /source/github-helpers/api.ts | |
parent | 4a49428f1975a7bcda0a86c8e615b5b63459a6cc (diff) | |
download | refined-github-9abd646c0b4fef53e291e42f1383f5f072c74331.tar.gz refined-github-9abd646c0b4fef53e291e42f1383f5f072c74331.tar.zst refined-github-9abd646c0b4fef53e291e42f1383f5f072c74331.zip |
Add `convert-release-to-draft` feature (#3443)
Co-authored-by: Federico <opensource@bfred.it>
Diffstat (limited to 'source/github-helpers/api.ts')
-rw-r--r-- | source/github-helpers/api.ts | 2 |
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; |