You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewBadRequestException('This API is local and cannot run on the cloud. Deploy it to enable execution.');
151
+
}
152
+
}
153
+
154
+
privateasyncvalidateFormData(
155
+
body: any,
156
+
contentType: string,
157
+
){
158
+
if(contentType==='multipart/form-data'&&body){
159
+
constformData=JSON.parse(body);
160
+
formData.find((item: any)=>{
161
+
if(item?.type==='file'){
162
+
thrownewBadRequestException('This API includes form-data with file uploads that are stored locally and cannot run in scheduled/cloud execution. Remove or replace the files to enable execution.');
163
+
}
164
+
});
165
+
}
136
166
}
137
167
138
168
privateasyncmakeHttpRequest({
@@ -150,6 +180,7 @@ export class TestflowService {
0 commit comments