diff --git a/keyBoard/Class/Shop/VM/KBShopVM.m b/keyBoard/Class/Shop/VM/KBShopVM.m index c64c118..9023c1f 100644 --- a/keyBoard/Class/Shop/VM/KBShopVM.m +++ b/keyBoard/Class/Shop/VM/KBShopVM.m @@ -207,9 +207,10 @@ if (completion) completion(NO, [self kb_invalidParameterError]); return; } - NSDictionary *body = @{@"themeId": [self kb_themeIdParamFromString:themeId]}; - [[KBNetworkManager shared] POST:API_THEME_RESTORE - jsonBody:body + NSString *themeIdValue = [[self kb_themeIdParamFromString:themeId] description]; + NSString *path = [NSString stringWithFormat:@"%@?themeId=%@", API_THEME_RESTORE, themeIdValue ?: @""]; + [[KBNetworkManager shared] POST:path + jsonBody:nil headers:nil autoShowBusinessError:NO completion:^(NSDictionary * _Nullable json,