mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-12-17 10:52:34 +08:00
add i18n
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user