Skip to content

Commit

Permalink
Merge pull request #78 from ExtensionEngine/release/2.4
Browse files Browse the repository at this point in the history
Issue with repository cloning
  • Loading branch information
underscope committed Apr 4, 2018
2 parents e4b5a42 + c16a041 commit bd8bbc7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tailor",
"version": "2.4.1",
"version": "2.4.2",
"description": "Course authoring platform",
"author": "ExtensionEngine <info@extensionengine.com>",
"private": true,
Expand Down
1 change: 1 addition & 0 deletions server/course/course.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class Course extends Model {

static updateStats(id, key, value) {
return this.findById(id).then(course => {
if (!course) return;
const stats = course.stats || {};
stats[key] = value;
return course.update({ stats });
Expand Down

0 comments on commit bd8bbc7

Please sign in to comment.