server updates
This commit is contained in:
parent
dff4d1adf1
commit
48a090be5f
|
@ -44,8 +44,6 @@ export const POST: RequestHandler = async ({ request }) => {
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
const res = await pastes.insertOne(data);
|
const res = await pastes.insertOne(data);
|
||||||
|
|
||||||
if (!res.acknowledged) {
|
if (!res.acknowledged) {
|
||||||
|
|
Loading…
Reference in New Issue