mirror of https://github.com/thaldrin/brevis.git
remove a log
This commit is contained in:
parent
0565a06bde
commit
f70b096b29
1
index.ts
1
index.ts
|
@ -28,7 +28,6 @@ app.get("/:slug", async (req, res) => {
|
||||||
.from<Shorten>("brevis").select().eq("slug", req.params.slug).limit(1);
|
.from<Shorten>("brevis").select().eq("slug", req.params.slug).limit(1);
|
||||||
|
|
||||||
if (data?.length === 0) {
|
if (data?.length === 0) {
|
||||||
console.log("hewo");
|
|
||||||
return res.json({
|
return res.json({
|
||||||
success: false,
|
success: false,
|
||||||
msg: "The Link you are trying to visit does not exist.",
|
msg: "The Link you are trying to visit does not exist.",
|
||||||
|
|
Loading…
Reference in New Issue