enhanced server settings section
This commit is contained in:
@@ -70,8 +70,8 @@ async function getOrCreateEntry(
|
||||
throw new Error('METADATA_NOT_FOUND');
|
||||
}
|
||||
|
||||
const config = loadConfig();
|
||||
const basePath = config.library?.[type];
|
||||
const { values } = loadConfig();
|
||||
const basePath = values.library?.[type];
|
||||
|
||||
if (!basePath) {
|
||||
throw new Error(`NO_LIBRARY_PATH_FOR_${type.toUpperCase()}`);
|
||||
|
||||
Reference in New Issue
Block a user