diff --git a/ee/bulk-operations-dashboard/api/controllers/profiles/edit-profile.js b/ee/bulk-operations-dashboard/api/controllers/profiles/edit-profile.js index 512fd95813..4752454238 100644 --- a/ee/bulk-operations-dashboard/api/controllers/profiles/edit-profile.js +++ b/ee/bulk-operations-dashboard/api/controllers/profiles/edit-profile.js @@ -15,7 +15,7 @@ module.exports = { required: true, }, newTeamIds: { - type: ['string'], + type: ['number'], description: 'An array of teams that this profile will be deployed on or Undefined if the profile is being removed from a team.' }, newProfile: { diff --git a/ee/bulk-operations-dashboard/api/controllers/scripts/edit-script.js b/ee/bulk-operations-dashboard/api/controllers/scripts/edit-script.js index ec8d30f182..8b19a82842 100644 --- a/ee/bulk-operations-dashboard/api/controllers/scripts/edit-script.js +++ b/ee/bulk-operations-dashboard/api/controllers/scripts/edit-script.js @@ -15,7 +15,7 @@ module.exports = { required: true, }, newTeamIds: { - type: ['ref'], + type: ['number'], description: 'An array of teams that this script will be added to.' }, newScript: {