feat: git changes processing

This commit is contained in:
Nick
2019-02-24 23:48:28 -05:00
parent abe5f3b25d
commit e6f1f3add4
13 changed files with 275 additions and 25 deletions

View File

@@ -93,8 +93,8 @@ module.exports = class PageHistory extends Model {
description: opts.description,
editorKey: opts.editorKey,
hash: opts.hash,
isPrivate: opts.isPrivate,
isPublished: opts.isPublished,
isPrivate: (opts.isPrivate === true || opts.isPrivate === 1),
isPublished: (opts.isPublished === true || opts.isPublished === 1),
localeCode: opts.localeCode,
path: opts.path,
publishEndDate: opts.publishEndDate || '',