*: cleanup api schema warnings

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-26 09:36:41 +02:00
parent 9b09793230
commit 2ae164df78
8 changed files with 68 additions and 67 deletions

View File

@ -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 || "",
},
});

View File

@ -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 || "",
},
});