Skip to content

Commit 55fc354

Browse files
committed
feature/organization - added language to model
1 parent bd22893 commit 55fc354

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

server/models/organizations.model.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module.exports = function (app) {
1717
publicEmail: { type: String },
1818
website: { type: String },
1919
type: { type: String },
20+
language: { type: String, required: true, default: 'de' },
2021
// will be generated automatically
2122
descriptionExcerpt: { type: String },
2223
addresses: { type: Array, default: [] },

yarn.lock

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,13 @@ create-error-class@^3.0.0:
10891089
dependencies:
10901090
capture-stack-trace "^1.0.0"
10911091

1092+
cross-env@^5.1.4:
1093+
version "5.1.4"
1094+
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.1.4.tgz#f61c14291f7cc653bb86457002ea80a04699d022"
1095+
dependencies:
1096+
cross-spawn "^5.1.0"
1097+
is-windows "^1.0.0"
1098+
10921099
cross-spawn@^3.0.0:
10931100
version "3.0.1"
10941101
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982"
@@ -2883,6 +2890,10 @@ is-utf8@^0.2.0:
28832890
version "0.2.1"
28842891
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
28852892

2893+
is-windows@^1.0.0:
2894+
version "1.0.2"
2895+
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
2896+
28862897
28872898
version "0.0.1"
28882899
resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"

0 commit comments

Comments
 (0)