Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented/centralize initial pull/small change #63

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update TODO
amerharb committed Mar 25, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
frenck Franck Nijhof
commit 5383fa4b24a69bce802b1ff2e8f996a113f63086
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ export async function PUT(
const { lang, msgId, projectName } = context.params;
const payload = await req.json();
const { text } = payload;
// TODO: include getProjectConfig() in a try/catch block and check for error to return a certain 500 error
// TODO: include getProjectConfig() and getLyraConfig() in a try/catch block and check for error to return a certain 500 error
const serverProjectConfig = await ServerConfig.getProjectConfig(projectName);
await RepoGit.cloneIfNotExist(serverProjectConfig);
const repoGit = await RepoGit.getRepoGit(serverProjectConfig);