Skip to content

Commit

Permalink
Internationalization, rework API system
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMulein committed Dec 24, 2024
1 parent eedebeb commit 8f80464
Show file tree
Hide file tree
Showing 141 changed files with 2,613 additions and 923 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"GitHub.vscode-pull-request-github",
"MermaidChart.vscode-mermaid-chart",
"Graphite.gti-vscode",
"Orta.vscode-jest"
"Orta.vscode-jest",
"Google.geminicodeassist"
],
// Set *default* container specific settings.json values on container create.
"settings": {
Expand Down
3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"mongodb.mongodb-vscode",
"ms-playwright.playwright",
"mermaidchart.vscode-mermaid-chart",
"graphite.gti-vscode",
"codeium.codeium"
"graphite.gti-vscode"
]
}
3 changes: 2 additions & 1 deletion chili-and-cilantro-api/src/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
handleError,
IApplication,
SchemaMap,
sendApiMessageResponse,
} from '@chili-and-cilantro/chili-and-cilantro-node-lib';
import express, { Application, NextFunction, Request, Response } from 'express';
import { Server } from 'http';
Expand Down Expand Up @@ -153,7 +154,7 @@ export class App implements IApplication {
err instanceof HandleableError
? err
: new HandleableError(err.message, { cause: err });
handleError(handleableError, res, next);
handleError(handleableError, res, sendApiMessageResponse, next);
},
);

Expand Down
Loading

0 comments on commit 8f80464

Please sign in to comment.