*: cleanup api schema warnings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -76,7 +76,7 @@ export class ApplicationForm extends ModelForm<Application, string> {
|
||||
return writeOp.then((app) => {
|
||||
return new CoreApi(DEFAULT_CONFIG).coreApplicationsSetIconUrlCreate({
|
||||
slug: app.slug,
|
||||
setIconURLRequest: {
|
||||
filePathRequest: {
|
||||
url: data.metaIcon || "",
|
||||
},
|
||||
});
|
||||
|
||||
@ -62,7 +62,7 @@ export class FlowForm extends ModelForm<Flow, string> {
|
||||
return writeOp.then((app) => {
|
||||
return new FlowsApi(DEFAULT_CONFIG).flowsInstancesSetBackgroundUrlCreate({
|
||||
slug: app.slug,
|
||||
setIconURLRequest: {
|
||||
filePathRequest: {
|
||||
url: data.background || "",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user