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
https://cdn.subut.ai:8338/kurjun/rest/raw/info?SubutaiTray this request will return JSON OBJECT if there is one SubutaiTray file on gorjun... And will return JSON ARRAY if there are more then one SubutaiTray files on gorjun.
It causes many problems. For example we need always check if we received array or single object. It's harder to maintain and write some scripts.
It's better to return array with one element if there is only one file on gorjun.
The text was updated successfully, but these errors were encountered:
https://cdn.subut.ai:8338/kurjun/rest/raw/info?SubutaiTray
this request will return JSON OBJECT if there is one SubutaiTray file on gorjun... And will return JSON ARRAY if there are more then one SubutaiTray files on gorjun.It causes many problems. For example we need always check if we received array or single object. It's harder to maintain and write some scripts.
It's better to return array with one element if there is only one file on gorjun.
The text was updated successfully, but these errors were encountered: