Attempting refreshes
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 52s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m49s
Music Collection CI Workflow / deploy (push) Successful in 25s
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 52s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m49s
Music Collection CI Workflow / deploy (push) Successful in 25s
This commit is contained in:
parent
4fc59d28dd
commit
62acd6a2d0
@ -49,6 +49,8 @@ export default function Page() {
|
||||
} else {
|
||||
await updateSong(formData);
|
||||
}
|
||||
const data = await getAlbum(parseInt(albumId));
|
||||
setAlbum(data);
|
||||
} catch (error) {
|
||||
console.error("Error creating Song: ", error);
|
||||
}
|
||||
@ -81,6 +83,8 @@ export default function Page() {
|
||||
} catch (error) {
|
||||
console.error(`Error getting song with ID ${songId}:`, error);
|
||||
}
|
||||
const data = await getAlbum(parseInt(albumId));
|
||||
setAlbum(data);
|
||||
} else {
|
||||
console.error("Couldn't get ID of clicked element");
|
||||
}
|
||||
@ -94,6 +98,8 @@ export default function Page() {
|
||||
} catch (error) {
|
||||
console.error(`Error deleting song with ID ${songId}:`, error);
|
||||
}
|
||||
const data = await getAlbum(parseInt(albumId));
|
||||
setAlbum(data);
|
||||
} else {
|
||||
console.error("Couldn't get ID of clicked element");
|
||||
}
|
||||
|
@ -44,6 +44,8 @@ export default function Page() {
|
||||
} else {
|
||||
await updateAlbum(formData);
|
||||
}
|
||||
const data = await getAlbums();
|
||||
setAlbums(data);
|
||||
} catch (error) {
|
||||
console.error("Error creating Album: ", error);
|
||||
}
|
||||
@ -74,6 +76,8 @@ export default function Page() {
|
||||
} catch (error) {
|
||||
console.error(`Error getting album with ID ${id}:`, error);
|
||||
}
|
||||
const data = await getAlbums();
|
||||
setAlbums(data);
|
||||
} else {
|
||||
console.error("Couldn't get ID of clicked element");
|
||||
}
|
||||
@ -87,6 +91,8 @@ export default function Page() {
|
||||
} catch (error) {
|
||||
console.error(`Error deleting album with ID ${id}:`, error);
|
||||
}
|
||||
const data = await getAlbums();
|
||||
setAlbums(data);
|
||||
} else {
|
||||
console.error("Couldn't get ID of clicked element");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user