From a0e63f8405eabc8d288ad0cc84429e701156eb8e Mon Sep 17 00:00:00 2001 From: goga-m Date: Tue, 15 Aug 2017 12:23:10 +0300 Subject: [PATCH] Naming corrections --- lib/constants.js | 2 +- migrations/036-add_customers_table.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/constants.js b/lib/constants.js index e7cff197..e1c23873 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -1,4 +1,4 @@ -const anonymous_customer = { +const anonymousCustomer = { uuid : '47ac1184-8102-11e7-9079-8f13a7117867', name: 'anonymous', } diff --git a/migrations/036-add_customers_table.js b/migrations/036-add_customers_table.js index 4202914f..70ebcba5 100644 --- a/migrations/036-add_customers_table.js +++ b/migrations/036-add_customers_table.js @@ -1,5 +1,5 @@ var db = require('./db') -var anonymous = require('../lib/constants').anonymous_customer +var anonymous = require('../lib/constants').anonymousCustomer exports.up = function(next) { const sql =