We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 532faa5 commit 3ead811Copy full SHA for 3ead811
src/modules/scf/index.js
@@ -163,6 +163,14 @@ class Scf {
163
delete functionInputs.Handler;
164
delete functionInputs.Code;
165
delete functionInputs.CodeSource;
166
+ // handle unbind one layer
167
+ // this is a very strange logical for layer unbind, but backend api need me to do this.
168
+ if (functionInputs.Layers && functionInputs.Layers.length === 0) {
169
+ functionInputs.Layers.push({
170
+ LayerName: '',
171
+ LayerVersion: 0,
172
+ });
173
+ }
174
await this.request(functionInputs);
175
return true;
176
}
0 commit comments