Merge development (#86)

This commit is contained in:
John Wu
2021-09-13 09:15:20 -07:00
committed by GitHub
parent 74eb2707a3
commit 680280dbf2
32 changed files with 465 additions and 466 deletions

View File

@@ -1,6 +1,6 @@
const updatesAPI = {
const manifestsAPI = {
createCarUpdates: async (data, token) => {
if (!data.id) data.id = 0;
data.id++;
@@ -14,21 +14,21 @@ const updatesAPI = {
id: 1,
package_name: "Test",
version: "1.0",
link: "http://cloudfront.com/download",
link: "https://cloudfront.com/download",
ecu_list: "ECU1 1.0.0,ECU2 1.0.2",
},
{
id: 2,
package_name: "Test",
version: "1.1",
link: "http://cloudfront.com/download",
link: "https://cloudfront.com/download",
ecu_list: "ECU1 1.0.1,ECU2 1.0.2",
},
{
id: 3,
package_name: "Test",
version: "1.2",
link: "http://cloudfront.com/download",
link: "https://cloudfront.com/download",
ecu_list: "ECU1 1.1.0,ECU2 1.1.2",
}
]
@@ -56,4 +56,4 @@ const updatesAPI = {
},
};
export default updatesAPI;
export default manifestsAPI;