update deps

This commit is contained in:
les 2020-03-31 16:44:20 +02:00
parent ba6d797435
commit 06135a2b37
3 changed files with 584 additions and 443 deletions

View file

@ -55,18 +55,18 @@
],
"dependencies": {
"@nuxtjs/auth": "^4.9.0",
"@nuxtjs/axios": "^5.9.5",
"@nuxtjs/axios": "^5.9.7",
"accept-language": "^3.0.18",
"axios": "^0.19.2",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"bootstrap": "^4.4.1",
"config": "^3.3.0",
"config": "^3.3.1",
"consola": "^2.11.3",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"date-fns": "^2.11.0",
"date-fns": "^2.11.1",
"dayjs": "^1.8.23",
"dompurify": "^2.0.8",
"element-ui": "^2.13.0",
@ -76,22 +76,22 @@
"http-signature": "^1.3.2",
"ics": "^2.19.0",
"inquirer": "^7.1.0",
"jsdom": "^16.2.1",
"jsdom": "^16.2.2",
"jsonwebtoken": "^8.5.1",
"less": "^3.11.1",
"linkifyjs": "^2.1.9",
"lodash": "^4.17.14",
"mkdirp": "^1.0.3",
"moment-timezone": "^0.5.28",
"morgan": "^1.9.1",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"nominatim-geocoder": "^0.1.4",
"nuxt": "^2.11.0",
"nuxt": "^2.12.2",
"nuxt-express-module": "^0.0.11",
"pg": "^7.18.2",
"pg": "^8.0.0",
"sequelize": "^5.21.5",
"sequelize-cli": "^5.5.1",
"sharp": "^0.25.1",
"sharp": "^0.25.2",
"sqlite3": "^4.1.1",
"tiptap": "^1.26.6",
"tiptap-extensions": "^1.28.6",
@ -99,27 +99,27 @@
"v-calendar": "^1.0.1",
"vue-awesome": "^4.0.0",
"vue-clipboard2": "^0.3.1",
"vue-i18n": "^8.15.5",
"vue-i18n": "^8.16.0",
"yargs": "^15.3.1"
},
"devDependencies": {
"@nuxtjs/eslint-config": "^2.0.2",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": ">=14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-config-standard": ">=14.1.1",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": ">=2.20.1",
"eslint-plugin-import": ">=2.20.2",
"eslint-plugin-jest": ">=23.8.2",
"eslint-plugin-node": ">=11.0.0",
"eslint-plugin-nuxt": ">=0.5.1",
"eslint-plugin-node": ">=11.1.0",
"eslint-plugin-nuxt": ">=0.5.2",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": ">=4.0.1",
"eslint-plugin-standard": ">=4.0.1",
"eslint-plugin-vue": "^6.2.2",
"less-loader": "^5.0.0",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"prettier": "^2.0.2",
"pug-plain-loader": "^1.0.0",
"webpack-cli": "^3.3.11"
}

View file

@ -240,12 +240,13 @@ const eventController = {
const event = await Event.create(eventDetails)
// TOFIX: check if place is specified
// create place if needed
const place = await Place.findOrCreate({
where: { name: body.place_name },
defaults: { address: body.place_address }
})
.spread((place, created) => place)
}).spread((place, created) => place)
await event.setPlace(place)
event.place = place

992
yarn.lock

File diff suppressed because it is too large Load diff