Fixes
All checks were successful
Music Collection CI Workflow / test (./backend) (push) Successful in 28s
Music Collection CI Workflow / test (./frontend) (push) Successful in 34s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/music-collection-backend, ./backend) (push) Successful in 51s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m48s
Music Collection CI Workflow / deploy (push) Successful in 24s

This commit is contained in:
Phill Pover 2025-04-07 05:46:07 +01:00
parent d95378104f
commit a2e318ecdb

View File

@ -133,10 +133,10 @@ export async function createSong(formData: FormData) {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },
body: JSON.stringify({ body: JSON.stringify({
albumId: albumId,
title: title, title: title,
duration: duration, duration: duration,
trackNumber: trackNumber, trackNumber: trackNumber,
albumId: albumId,
}) })
}).then(response => { }).then(response => {
if (response.ok) { if (response.ok) {