fix: downgrade conflicting dependency

This commit is contained in:
log101 2024-01-24 08:49:27 +03:00
parent d5a267fead
commit 38dd1eb2f1
3 changed files with 5 additions and 7 deletions

8
package-lock.json generated
View File

@ -23,7 +23,7 @@
"astro": "^4.1.2", "astro": "^4.1.2",
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"clsx": "^2.1.0", "clsx": "^2.1.0",
"kysely": "^0.27.2", "kysely": "^0.26.0",
"lucide-react": "^0.309.0", "lucide-react": "^0.309.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
@ -3914,9 +3914,9 @@
} }
}, },
"node_modules/kysely": { "node_modules/kysely": {
"version": "0.27.2", "version": "0.26.3",
"resolved": "https://registry.npmjs.org/kysely/-/kysely-0.27.2.tgz", "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.26.3.tgz",
"integrity": "sha512-DmRvEfiR/NLpgsTbSxma2ldekhsdcd65+MNiKXyd/qj7w7X5e3cLkXxcj+MypsRDjPhHQ/CD5u3Eq1sBYzX0bw==", "integrity": "sha512-yWSgGi9bY13b/W06DD2OCDDHQmq1kwTGYlQ4wpZkMOJqMGCstVCFIvxCCVG4KfY1/3G0MhDAcZsip/Lw8/vJWw==",
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
} }

View File

@ -25,7 +25,7 @@
"astro": "^4.1.2", "astro": "^4.1.2",
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"clsx": "^2.1.0", "clsx": "^2.1.0",
"kysely": "^0.27.2", "kysely": "^0.26.0",
"lucide-react": "^0.309.0", "lucide-react": "^0.309.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",

View File

@ -23,8 +23,6 @@ export const POST: APIRoute = async ({ request }) => {
const description = data.get("description") const description = data.get("description")
const geolocation = data.get("geolocation") const geolocation = data.get("geolocation")
console.log(image, description, geolocation)
if (!image || !geolocation) { if (!image || !geolocation) {
return new Response(null, { return new Response(null, {
status: 400, status: 400,