mirror of
https://github.com/strapi/strapi.git
synced 2025-10-30 09:23:28 +00:00
Using single quotes
This commit is contained in:
parent
aec28dfb94
commit
fdca337473
@ -60,8 +60,8 @@ module.exports = {
|
|||||||
|
|
||||||
// Add timestamps attributes.
|
// Add timestamps attributes.
|
||||||
if (_.isArray(_.get(model, 'options.timestamps'))) {
|
if (_.isArray(_.get(model, 'options.timestamps'))) {
|
||||||
initialState[_.get(model, 'options.timestamps[0]')] = "DateTime!";
|
initialState[_.get(model, 'options.timestamps[0]')] = 'DateTime!';
|
||||||
initialState[_.get(model, 'options.timestamps[1]')] = "DateTime!";
|
initialState[_.get(model, 'options.timestamps[1]')] = 'DateTime!';
|
||||||
|
|
||||||
Object.assign(acc.resolver[globalId], {
|
Object.assign(acc.resolver[globalId], {
|
||||||
createdAt: (obj) => {
|
createdAt: (obj) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user