Skip to content

Commit 68b0157

Browse files
committed
zoho_bugtracker adjustments
1 parent 14881d4 commit 68b0157

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

components/zoho_bugtracker/actions/create-bug/create-bug.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,6 @@ export default {
208208
} = await getFileStreamAndMetadata(uploaddoc);
209209
const filename = metadata.name;
210210
formData.append("uploaddoc", stream, {
211-
filename,
212-
contentType: metadata.contentType,
213-
knownLength: metadata.size,
214211
header: [
215212
`Content-Disposition: form-data; name="uploaddoc"; filename="${filename}"`,
216213
`Content-Type: ${metadata.contentType}`,

components/zoho_bugtracker/zoho_bugtracker.app.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ export default {
166166
portalId: {
167167
type: "string",
168168
label: "Portal Id",
169-
description: "The Id of the portal.",
169+
description: "Select a portal or provide a portal ID",
170170
async options() {
171171
const { portals } = await this.listPortals();
172172

173-
return portals.map(({
173+
return portals?.map(({
174174
id_string: value, name: label,
175175
}) => ({
176176
label,
@@ -181,7 +181,7 @@ export default {
181181
projectId: {
182182
type: "string",
183183
label: "Project Id",
184-
description: "project.",
184+
description: "Select a project or provide a project ID",
185185
async options({
186186
page, portalId,
187187
}) {

0 commit comments

Comments
 (0)