socfortress / CoPilot

SOCFortress CoPilot
https://www.socfortress.co
GNU Affero General Public License v3.0
210 stars 40 forks source link

refactor: Update connector ID check for YAML file uploads #286

Closed taylorwalton closed 2 months ago

taylorwalton commented 2 months ago

The code changes in this commit modify the upload_yaml_file function in the routes.py file. The connector ID check for YAML file uploads has been updated to allow for multiple connector IDs. Previously, only connector ID 6 was allowed, but now connector IDs 5 and 6 are allowed. Additionally, the error detail message has been updated to reflect this change.