Method-name fix

This commit is contained in:
rudi committed 2026-07-31 15:44:18 +02:00
1 parent 8b9d47d000
commit 31006031f4
1 file changed
+2 -1
+2 -1
View File
@@ -1,6 +1,7 @@
import { NextResponse } from "next/server";
import {
getSongBooks,
searchSongBooksByTitle,
createSongBook,
} from "@/lib/db/songbook";
@@ -23,7 +24,7 @@ export async function GET(request: Request) {
// Wenn ein Suchbegriff übergeben wurde -> Sucheinbindung
if (query) {
const res = await searchSongBookByTitle(query); // You can enter a limit
const res = await searchSongBooksByTitle(query); // You can enter a limit
if (!res.success) {
return NextResponse.json({ message: res.error }, { status: 500 });