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
Uploading a file ending in .yml does not work; it results in a JSONdecode error when it hits the else block.
The existing code needs to be updated to check for yml, and I would write it to use endsWith instead of includes to avoid having files named yaml.json being an issue.
The text was updated successfully, but these errors were encountered:
aws-api-gateway-developer-portal/dev-portal/src/pages/Admin/ApiManagement.jsx
Lines 100 to 106 in e518f77
Uploading a file ending in .yml does not work; it results in a JSONdecode error when it hits the else block.
The existing code needs to be updated to check for yml, and I would write it to use endsWith instead of includes to avoid having files named yaml.json being an issue.
The text was updated successfully, but these errors were encountered: