Skip to content

Update SDK functions which upload files #9

@sarora180673

Description

@sarora180673

Issue observed with functions which upload file e.g., setAppLogo

When we call /api/settings/appLogo endpoint, we specify
logoImage and target in Request Body and it works fine.

While setAppLogoParams has only logoImage

async setAppLogo(params: SetAppLogoParams) : Promise {
return this.apiCall('appLogo', params, {}, Methods.post);
}

export interface SetAppLogoParams {
logoImage: File;
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions