feat: update Makelore modules and conversations
This commit is contained in:
@@ -134,8 +134,8 @@ export async function handleFileRoutes(
|
||||
return true;
|
||||
}
|
||||
const config = await readProjectConfig(activeProject.path);
|
||||
if (config.status !== 'valid' || !config.config.initialized || config.config.templateId !== 'game-development') {
|
||||
sendJson(res, 403, { success: false, error: 'Game asset browsing is unavailable for this project template' });
|
||||
if (config.status !== 'valid' || !config.config.initialized) {
|
||||
sendJson(res, 403, { success: false, error: 'Game asset browsing is unavailable for an uninitialized project' });
|
||||
return true;
|
||||
}
|
||||
sendJson(res, 200, { assets: await loadGameAssetCandidates(activeProject.path) });
|
||||
@@ -153,8 +153,8 @@ export async function handleFileRoutes(
|
||||
return true;
|
||||
}
|
||||
const config = await readProjectConfig(activeProject.path);
|
||||
if (config.status !== 'valid' || !config.config.initialized || config.config.templateId !== 'game-development') {
|
||||
sendJson(res, 403, { success: false, error: 'Game asset review is unavailable for this project template' });
|
||||
if (config.status !== 'valid' || !config.config.initialized) {
|
||||
sendJson(res, 403, { success: false, error: 'Game asset review is unavailable for an uninitialized project' });
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user