From 9bf07d9ab315d858e73d1e7448278ee15b6cf1f1 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Sat, 14 Nov 2015 06:36:58 -0800 Subject: [PATCH] Add free property to courses update script --- scripts/mongodb/updateCourses.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/mongodb/updateCourses.js b/scripts/mongodb/updateCourses.js index 1cd817085..ab475d26d 100644 --- a/scripts/mongodb/updateCourses.js +++ b/scripts/mongodb/updateCourses.js @@ -16,6 +16,7 @@ var courses = description: "Learn basic syntax, while loops, and the CodeCombat environment.", duration: NumberInt(1), pricePerSeat: NumberInt(0), + free: true, screenshot: "/images/pages/courses/101_info.png" }, { @@ -26,6 +27,7 @@ var courses = description: "Introduce Arguments, Variables, If Statements, and Arithmetic.", duration: NumberInt(5), pricePerSeat: NumberInt(400), + free: false, screenshot: "/images/pages/courses/102_info.png" }, { @@ -36,6 +38,7 @@ var courses = description: "Introduces arithmetic, counters, advanced while loops, break, continue, arrays.", duration: NumberInt(5), pricePerSeat: NumberInt(400), + free: false, screenshot: "/images/pages/courses/103_info.png" }, { @@ -46,6 +49,7 @@ var courses = description: "Introduces object literals, for loops, function definitions, drawing, and modulo.", duration: NumberInt(5), pricePerSeat: NumberInt(400), + free: false, screenshot: "/images/pages/courses/104_info.png" } ];