Skip to content

Commit

Permalink
Merge branch 'development' of github.com:UNICEFECAR/USupport-email in…
Browse files Browse the repository at this point in the history
…to staging
  • Loading branch information
georgipavlov-7DIGIT committed Mar 18, 2024
2 parents 64ec560 + 65c7443 commit 164ef06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions service/middlewares/errorMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const errorHandler = (err, req, res, next) => {
// eslint-disable-next-line no-unused-vars
export const notFound = (req, res, next) => {
//501 if endpoint does not exist
const error = new Error("Not Implemented");
error.status = 501;
const error = new Error("Not Found");
error.status = 404;
next(error);
};
2 changes: 1 addition & 1 deletion service/translations/kk.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default {
admin_registration_notify_subject: "Аккаунтты тіркеу",
admin_registration_notify_title: "uSupport админ ретінде тіркелді",
admin_registration_notify_text:
"Сіз uSupport қызметінде әкімші ретінде тіркелдіңіз.<br/> Автоматты түрде жасалған құпия сөз: {2} <br/>Оны өз профиліңіздің параметрлерінен кез келген уақытта өзгертуге болады.<br/> Профиліңізге кіру үшін {1} кіріңіз.",
"Сіз USupport қызметінде әкімші ретінде тіркелдіңіз.<br/> Автоматты түрде жасалған құпия сөз: {2} <br/>Оны өз парақшаңыздың параметрлерінен кез келген уақытта өзгертуге болады.<br/> Профиліңізге кіру үшін {1} кіріңіз.",
client_registration_otp_subject: "uSupport-ке тіркелу",
client_registration_otp_title: "uSupport-ке тіркелу",
client_registration_otp_text:
Expand Down

0 comments on commit 164ef06

Please sign in to comment.