orgnote-api 0.11.1 → 0.11.2

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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -10,7 +10,7 @@ import { Stream } from 'stream';
10
10
  // NOTE: patch cause of incorrect generated api (form-data and swaggo)
11
11
  export const initFilesApi = (axiosInstance: Axios) => {
12
12
  return {
13
- uploadFiles: async (file: File) => {
13
+ uploadFile: async (file: File) => {
14
14
  const formData = new FormData();
15
15
  formData.append('files', file);
16
16
  const response = await axiosInstance.post('/files/upload', formData, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orgnote-api",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Official API for creating extensions for OrgNote app",
5
5
  "type": "module",
6
6
  "main": "./index.ts",