Adding catches#
All checks were successful
Music Collection CI Workflow / test (./backend) (push) Successful in 30s
Music Collection CI Workflow / test (./frontend) (push) Successful in 36s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/music-collection-backend, ./backend) (push) Successful in 50s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m51s
Music Collection CI Workflow / deploy (push) Successful in 24s
All checks were successful
Music Collection CI Workflow / test (./backend) (push) Successful in 30s
Music Collection CI Workflow / test (./frontend) (push) Successful in 36s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/music-collection-backend, ./backend) (push) Successful in 50s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m51s
Music Collection CI Workflow / deploy (push) Successful in 24s
This commit is contained in:
parent
aff2ed72d7
commit
46a44bf7f6
@ -7,7 +7,7 @@ export async function getAlbums() {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ export async function getAlbum(id: number) {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ export async function createAlbum(formData: FormData) {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ export async function updateAlbum(formData: FormData) {
|
|||||||
console.log(response.json());
|
console.log(response.json());
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ export async function deleteAlbum(id: number) {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ export async function getSongs() {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ export async function getSong(id: number) {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ export async function createSong(formData: FormData) {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ export async function updateSong(formData: FormData) {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,6 +151,6 @@ export async function deleteSong(id: number) {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user