fix(cli): upload large file with openAPI api (#5246)

* fix(cli): upload large file with openAPI

* function name

* fix: use boolean false

* chore: version bump

* fix: package-lock version

---------

Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se>
This commit is contained in:
Alex
2023-11-21 15:09:19 -06:00
committed by GitHub
parent af1113bf9e
commit 8ff4a08a2c
4 changed files with 18 additions and 13 deletions

View File

@@ -11,6 +11,7 @@ import {
UserApi,
} from './open-api';
import { ApiConfiguration } from '../cores/api-configuration';
import FormData from 'form-data';
export class ImmichApi {
public userApi: UserApi;
@@ -35,6 +36,7 @@ export class ImmichApi {
'x-api-key': apiKey,
},
},
formDataCtor: FormData,
});
this.userApi = new UserApi(this.config);