mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-04 00:30:27 +00:00
fix API key storage
This commit is contained in:
parent
309be1a311
commit
60db244c66
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ export class ItemsApi extends BaseAPI {
|
|||
attachments: AttachmentsAPI;
|
||||
maintenance: MaintenanceAPI;
|
||||
|
||||
constructor(http: Requests, token = "") {
|
||||
constructor(http: Requests, token: string) {
|
||||
super(http, token);
|
||||
this.attachments = new AttachmentsAPI(http);
|
||||
this.maintenance = new MaintenanceAPI(http);
|
||||
|
|
|
@ -24,7 +24,7 @@ export class UserClient extends BaseAPI {
|
|||
|
||||
this.locations = new LocationsApi(requests);
|
||||
this.labels = new LabelsApi(requests);
|
||||
this.items = new ItemsApi(requests);
|
||||
this.items = new ItemsApi(requests, attachmentToken);
|
||||
this.group = new GroupApi(requests);
|
||||
this.user = new UserApi(requests);
|
||||
this.actions = new ActionsAPI(requests);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue