upd: change date to timestamp
This commit is contained in:
@@ -37,7 +37,7 @@ export default function MetaScraping() {
|
||||
lang: "",
|
||||
author: "",
|
||||
publisher: "",
|
||||
date: "",
|
||||
timestamp: "",
|
||||
});
|
||||
const [isScraping, setIsScraping] = useState(false);
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ export async function GET(req: Request) {
|
||||
lang,
|
||||
author,
|
||||
publisher,
|
||||
date: new Date(),
|
||||
timestamp: Date.now(),
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
||||
Reference in New Issue
Block a user