Skip to content
Snippets Groups Projects
Commit bacdbd52 authored by Inès Yeterian's avatar Inès Yeterian
Browse files

try adding simple toucan_id field

parent f44fc287
Branches 2023
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ db.once("open", function() { ...@@ -23,7 +23,7 @@ db.once("open", function() {
}); });
toucans.updateMany({}, {$set:{"toucan_id": { $concat: ["$title", "-", "$date"]}}}); toucans.updateMany({}, {"toucan_id": 0});
app.use(cors()); app.use(cors());
app.use(bodyParser.json()); app.use(bodyParser.json());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment