Skip to content

Commit

Permalink
fix(video-conferencing-service): fixed missing exports (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatdubeysf authored May 26, 2021
1 parent 81992cf commit 5baf4af
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion services/audit-service/migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const dotenvExt = require('dotenv-extended');
const fs = require('fs');
const DBMigrate = require('db-migrate');
const path = require('path');
let isLocal = false;
dotenvExt.load({
Expand All @@ -27,6 +26,7 @@ if (isLocal) {
`${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`,
);
} else {
const DBMigrate = require('db-migrate');
dotenvExt.load({
schema: path.join('.', 'migrations', '.env.schema'),
path: path.join(process.env.INIT_CWD, '.env'),
Expand Down
2 changes: 1 addition & 1 deletion services/authentication-service/migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const dotenvExt = require('dotenv-extended');
const fs = require('fs');
const DBMigrate = require('db-migrate');
const path = require('path');
let isLocal = false;
dotenvExt.load({
Expand All @@ -27,6 +26,7 @@ if (isLocal) {
`${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`,
);
} else {
const DBMigrate = require('db-migrate');
dotenvExt.load({
schema: path.join('.', 'migrations', '.env.schema'),
path: path.join(process.env.INIT_CWD, '.env'),
Expand Down
2 changes: 1 addition & 1 deletion services/bpmn-service/migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const dotenvExt = require('dotenv-extended');
const fs = require('fs');
const DBMigrate = require('db-migrate');
const path = require('path');
let isLocal = false;
dotenvExt.load({
Expand All @@ -27,6 +26,7 @@ if (isLocal) {
`${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`,
);
} else {
const DBMigrate = require('db-migrate');
dotenvExt.load({
schema: path.join('.', 'migrations', '.env.schema'),
path: path.join(process.env.INIT_CWD, '.env'),
Expand Down
2 changes: 1 addition & 1 deletion services/in-mail-service/migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const dotenvExt = require('dotenv-extended');
const fs = require('fs');
const DBMigrate = require('db-migrate');
const path = require('path');
let isLocal = false;
dotenvExt.load({
Expand All @@ -27,6 +26,7 @@ if (isLocal) {
`${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`,
);
} else {
const DBMigrate = require('db-migrate');
dotenvExt.load({
schema: path.join('.', 'migrations', '.env.schema'),
path: path.join(process.env.INIT_CWD, '.env'),
Expand Down
2 changes: 1 addition & 1 deletion services/notification-service/migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const dotenvExt = require('dotenv-extended');
const fs = require('fs');
const DBMigrate = require('db-migrate');
const path = require('path');
let isLocal = false;
dotenvExt.load({
Expand All @@ -27,6 +26,7 @@ if (isLocal) {
`${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`,
);
} else {
const DBMigrate = require('db-migrate');
dotenvExt.load({
schema: path.join('.', 'migrations', '.env.schema'),
path: path.join(process.env.INIT_CWD, '.env'),
Expand Down
2 changes: 1 addition & 1 deletion services/scheduler-service/migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const dotenvExt = require('dotenv-extended');
const fs = require('fs');
const DBMigrate = require('db-migrate');
const path = require('path');
let isLocal = false;
dotenvExt.load({
Expand All @@ -27,6 +26,7 @@ if (isLocal) {
`${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`,
);
} else {
const DBMigrate = require('db-migrate');
dotenvExt.load({
schema: path.join('.', 'migrations', '.env.schema'),
path: path.join(process.env.INIT_CWD, '.env'),
Expand Down
2 changes: 1 addition & 1 deletion services/video-conferencing-service/migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const dotenvExt = require('dotenv-extended');
const fs = require('fs');
const DBMigrate = require('db-migrate');
const path = require('path');
let isLocal = false;
dotenvExt.load({
Expand All @@ -27,6 +26,7 @@ if (isLocal) {
`${type}_MIGRATION or SOURCELOOP_MIGRATION variables not found in the environment, skipping automigration.`,
);
} else {
const DBMigrate = require('db-migrate');
dotenvExt.load({
schema: path.join('.', 'migrations', '.env.schema'),
path: path.join(process.env.INIT_CWD, '.env'),
Expand Down
3 changes: 3 additions & 0 deletions services/video-conferencing-service/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export * from './component';
export * from './providers';
export * from './keys';
export * from './types';
export * from './models';

0 comments on commit 5baf4af

Please sign in to comment.