fix API key storage

This commit is contained in:
Hayden 2023-01-14 09:17:38 -09:00
parent 309be1a311
commit 60db244c66
No known key found for this signature in database
GPG key ID: 17CF79474E257545
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);