Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/models/event-invoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export default ModelBase.extend({
paymentMode : attr('string'),
stripeToken : attr('string'),
last4 : attr('string'),
expMonth : attr('number'),
expYear : attr('number'),
expMonth : attr('number'),
expYear : attr('number'),
amount : attr('number'),
completedAt : attr('moment'),
invoicePdfUrl : attr('string'),
Expand Down
2 changes: 1 addition & 1 deletion config/deploy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* jshint node: true */

module.exports = function(deployTarget) {
let ENV = {
const ENV = {
build: {}
// include other plugin configuration that applies to all deploy targets here
};
Expand Down
2 changes: 2 additions & 0 deletions config/deprecation-workflow.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-env browser */

window.deprecationWorkflow = window.deprecationWorkflow || {};
window.deprecationWorkflow.config = {
workflow: [
Expand Down
22 changes: 11 additions & 11 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function getSentryServer(dsn, withProtocol = true) {


module.exports = function(environment) {
let ENV = {
const ENV = {
appName : process.env.APP_NAME || 'Open Event',
modulePrefix : 'open-event-frontend',
environment,
Expand Down Expand Up @@ -55,11 +55,11 @@ module.exports = function(environment) {
},

sentry: {
dsn : process.env.SENTRY_DSN || 'https://[email protected]/dummy',
debug : !!process.env.SENTRY_DSN,
development : !process.env.SENTRY_DSN,
release : (process.env.SENTRY_PROJECT_NAME || 'eventyay-frontend') + '@' + process.env.npm_package_version,
tracesSampleRate: process.env.SENTRY_TRACE_SAMPLE_RATE || 0.1,
dsn : process.env.SENTRY_DSN || 'https://[email protected]/dummy',
debug : !!process.env.SENTRY_DSN,
development : !process.env.SENTRY_DSN,
release : (process.env.SENTRY_PROJECT_NAME || 'eventyay-frontend') + '@' + process.env.npm_package_version,
tracesSampleRate : process.env.SENTRY_TRACE_SAMPLE_RATE || 0.1
},

emberFullCalendar: {
Expand Down Expand Up @@ -87,11 +87,11 @@ module.exports = function(environment) {
};

ENV['ember-simple-auth-token'] = {
refreshAccessTokens : false,
serverTokenEndpoint : `${ENV.APP.apiHost}/auth/session`,
tokenPropertyName : 'access_token',
authorizationPrefix : 'JWT ',
authorizationHeaderName: 'Authorization'
refreshAccessTokens : false,
serverTokenEndpoint : `${ENV.APP.apiHost}/auth/session`,
tokenPropertyName : 'access_token',
authorizationPrefix : 'JWT ',
authorizationHeaderName : 'Authorization'
};

ENV['g-map'] = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "ember test",
"exam": "ember exam --launch=chrome --random",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*",
"lint:js": "eslint --fix app ember-cli-build.js testem.js tests",
"lint:js": "eslint --fix app ember-cli-build.js testem.js tests config",
"lint:scss": "sass-lint -c .sass-lint.yml --verbose",
"lint:hbs": "ember-template-lint ."
},
Expand Down