Using single quotes

This commit is contained in:
DESKTOP-9GMDKNB\NeOMakinG 2019-01-28 20:57:11 +01:00
parent aec28dfb94
commit fdca337473

View File

@ -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) => {