@kohanajs/mod-cms
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -5,2 +5,9 @@ # Changelog | ||
### [7.0.2](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v7.0.1...v7.0.2) (2022-03-24) | ||
### Bug Fixes | ||
* publish ([9be4bfe](https://gitlab.com/kohana-js/proposals/level0/mod-cms/commit/9be4bfe09354b9be3ec2ace15db52590f4c13b72)) | ||
### [7.0.1](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v7.0.0...v7.0.1) (2022-03-24) | ||
@@ -7,0 +14,0 @@ |
@@ -69,3 +69,4 @@ const { ControllerAdmin } = require('@kohanajs/mod-admin'); | ||
const livePage = ORM.create(Page, {database, insertID: page.id}); | ||
livePage.original = page.original; | ||
Object.assign(livePage, page); | ||
delete livePage.id; | ||
await livePage.write(); | ||
@@ -72,0 +73,0 @@ |
{ | ||
"name": "@kohanajs/mod-cms", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "The CMS module for KohanaJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92683
1227