Skip to content

Commit

Permalink
fix(api): update locales path
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed May 4, 2024
1 parent e0282d6 commit b07ef51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controllers/admin-public-talks-controller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { validationResult } from 'express-validator';
import { publicTalks } from '../classes/PublicTalk.js';
import { LANGUAGE_LIST } from '../locales/langList.js';
import { LANGUAGE_LIST } from '../../locales/langList.js';

export const getAllPublicTalks = async (req, res, next) => {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/congregation-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { validationResult } from 'express-validator';
import { users } from '../classes/Users.js';
import { congregations } from '../classes/Congregations.js';
import { createCongregationAllowedRoles } from '../constant/constant.js';
import { LANGUAGE_LIST } from '../locales/langList.js';
import { LANGUAGE_LIST } from '../../locales/langList.js';
import { sendWelcomeCPE } from '../utils/sendEmail.js';

const isDev = process.env.NODE_ENV === 'development';
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/congregation-meeting-editor-controller.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { validationResult } from 'express-validator';
import { congregations } from '../classes/Congregations.js';
import { publicTalks } from '../classes/PublicTalk.js';
import { LANGUAGE_LIST } from '../locales/langList.js';
import { LANGUAGE_LIST } from '../../locales/langList.js';

export const getPublicTalks = async (req, res, next) => {
try {
Expand Down

0 comments on commit b07ef51

Please sign in to comment.