Changed the Sender Page
This commit is contained in:
1 parent
bdc864cf94
commit
1d047c06a7
4 files changed
+145
-199
No files matched your search
@@ -1,8 +1,11 @@
|
||||
"use server";
|
||||
|
||||
import { error } from "console";
|
||||
//import { error } from "console";
|
||||
import Papa from "papaparse";
|
||||
import { addSongToSongbook } from "@/lib/db/managing";
|
||||
import { createSong } from "@/lib/db/song";
|
||||
//import { createSongBook } from "@/lib/db/songbook.ts";
|
||||
import { addSongToBook } from "@/lib/db/songbooksongs.ts";
|
||||
|
||||
|
||||
interface CSVRow {
|
||||
nummer: string;
|
||||
@@ -40,4 +43,4 @@ export async function uploadCSVAction(formData:FormData) {
|
||||
console.error(error);
|
||||
return { success: false, error: "Error"};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user