@amityco/ts-sdk-react-native 6.22.1-12d640a.0 → 6.22.1-54cd206.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amityco/ts-sdk-react-native",
3
- "version": "6.22.1-12d640a.0",
3
+ "version": "6.22.1-54cd206.0",
4
4
  "license": "CC-BY-ND-4.0",
5
5
  "author": "amity.co <developers@amity.co> (https://amity.co)",
6
6
  "description": "Amity Social Cloud Typescript SDK",
@@ -33,7 +33,7 @@ export const uploadImage = async (
33
33
  const headers =
34
34
  'getHeaders' in formData
35
35
  ? (formData as any).getHeaders()
36
- : { 'content-type': 'multipart/form-data' };
36
+ : { 'Content-Type': 'multipart/form-data' };
37
37
 
38
38
  const { data } = await client.http.post<Amity.CreateFilePayload<'image'>>(
39
39
  '/api/v4/images',
@@ -39,7 +39,7 @@ export const uploadVideo = async (
39
39
  const headers =
40
40
  'getHeaders' in formData
41
41
  ? (formData as any).getHeaders()
42
- : { 'content-type': 'multipart/form-data' };
42
+ : { 'Content-Type': 'multipart/form-data' };
43
43
 
44
44
  const { data } = await client.http.post<Amity.CreateFilePayload<'video'>>(
45
45
  '/api/v4/videos',