MSP dashboard: Update edit-script and edit-profile inputs (#24567)

Changes:
- Updated the edit-script and edit-profile actions to make sure that new
team IDs are always numbers.
This commit is contained in:
Eric 2024-12-09 14:54:46 -06:00 committed by GitHub
parent 874a1bf495
commit 6540ec7601
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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: {

View file

@ -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: {