1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-12-17 10:52:34 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-03-15 18:33:05 +08:00
parent d0495fb271
commit d974be6706
10 changed files with 257 additions and 79 deletions

View File

@@ -92,7 +92,7 @@ function queryWithoutBody(method: string) {
}
function queryWithBody(method: string) {
return (api: string, body: Record<string, any>) =>
return (api: string, body?: Record<string, any>) =>
query(host + api, {
method,
headers: {