Skip to content

Commit

Permalink
remove debug output
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Cassidy <[email protected]>
  • Loading branch information
stevecassidy committed Nov 9, 2023
1 parent df7dafb commit e74aea5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/couchdb/notebooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ export const createNotebook = async (
uispec: ProjectUIModel,
metadata: any
) => {
console.log('creating notebook', projectName);
const project_id = generateProjectID(projectName);

const metaDBName = `metadata-${project_id}`;
Expand All @@ -336,7 +335,6 @@ export const createNotebook = async (
// this is used to find the other databases below
const projectsDB = getProjectsDB();
if (projectsDB) {
console.log('writing to projectDB', projectsDB.name);
await projectsDB.put(projectDoc);
}
} catch (error) {
Expand All @@ -348,7 +346,6 @@ export const createNotebook = async (
if (!metaDB) {
return undefined;
}
console.log('writing metadata', metaDB.name);
// get roles from the notebook, ensure that 'user' and 'admin' are included
const roles = metadata.accesses || ['admin', 'user', 'team'];
if (roles.indexOf('user') < 0) {
Expand Down Expand Up @@ -395,7 +392,6 @@ export const createNotebook = async (
}

try {
console.log('adding design docs to data db', dataDB.name);
await addDesignDocsForNotebook(dataDB);
} catch (error) {
console.log(error);
Expand Down

0 comments on commit e74aea5

Please sign in to comment.