update interfaces to use the updated property names

+ misc changes related to moving to sqlite
This commit is contained in:
geoffrey45
2022-11-21 20:03:56 +03:00
committed by Mungai Njoroge
parent 881adc0f88
commit f3c4f0310a
30 changed files with 166 additions and 137 deletions
+2 -2
View File
@@ -45,10 +45,10 @@
import { onMounted, ref } from "vue";
// import { useDropZone } from "@vueuse/core";
import { updatePlaylist } from "@/composables/fetch/playlists";
import { paths } from "@/config";
import { Playlist } from "@/interfaces";
import usePStore from "@/stores/pages/playlist";
import { updatePlaylist } from "@/composables/fetch/playlists";
const pStore = usePStore();
@@ -131,7 +131,7 @@ function update_playlist(e: Event) {
formData.append("image", image);
if (name && name.toString().trim() !== "") {
updatePlaylist(props.playlist.playlistid, formData, pStore).then(() => {
updatePlaylist(props.playlist.id, formData, pStore).then(() => {
emit("hideModal");
});
}