Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
6cdb48c2
Commit
6cdb48c2
authored
Mar 31, 2020
by
les
Browse files
update deps
parent
316d1cf4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
6cdb48c2
...
...
@@ -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.1
1.0
"
,
"
nuxt
"
:
"
^2.1
2.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.1
5.5
"
,
"
vue-i18n
"
:
"
^8.1
6.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
"
}
...
...
server/api/controller/event.js
View file @
6cdb48c2
...
...
@@ -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
...
...
yarn.lock
View file @
6cdb48c2
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment