Skip to content

Commit eb67b4f

Browse files
Merge pull request #5 from Shitanshukumar607/add-drag-and-drop-and-designtheui
Add drag and drop and design the ui
2 parents 35a4cc0 + c91e56a commit eb67b4f

File tree

2 files changed

+474
-20
lines changed

2 files changed

+474
-20
lines changed

app/api/upload/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function POST(req: Request) {
5454
const svgString = await cloudinaryToSVG(cloudinaryResponse.secure_url);
5555

5656
return NextResponse.json(
57-
{ url: cloudinaryResponse.secure_url, svg: svgString },
57+
{ url: cloudinaryResponse.secure_url, svg: svgString, success: true },
5858
{ status: 201 },
5959
);
6060
}

0 commit comments

Comments
 (0)