gg.easy.airship 0.1.2102 → 0.1.2103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,7 +109,7 @@ namespace Editor.Accessories.Clothing {
109
109
  (string category, string subcategory) = GetGearCategory(gear);
110
110
 
111
111
  // Create a new class id
112
- var req = UnityWebRequest.Post($"{AirshipPlatformUrl.contentService}/gear/resource-id/{easyOrgId}",
112
+ var req = UnityWebRequest.PostWwwForm($"{AirshipPlatformUrl.contentService}/gear/resource-id/{easyOrgId}",
113
113
  JsonUtility.ToJson(new GearCreateRequest() {
114
114
  name = gear.name,
115
115
  imageId = "c0e07e88-09d4-4962-b42d-7794a7ad4cb2",
@@ -133,7 +133,7 @@ namespace Editor.Accessories.Clothing {
133
133
 
134
134
  if (string.IsNullOrEmpty(airId)) {
135
135
  // Create new air asset
136
- var req = UnityWebRequest.Post(
136
+ var req = UnityWebRequest.PostWwwForm(
137
137
  AirshipPlatformUrl.deploymentService + $"/air-assets/owner-type/ORGANIZATION/owner-id/{easyOrgId}",
138
138
  JsonUtility.ToJson(new AirAssetCreateRequest() {
139
139
  contentType = "application/airasset",