Adjusted my scripts for running and added a new remote to github.

This commit is contained in:
Rapturate
2026-04-27 23:47:20 -04:00
parent 68e7058ca4
commit dfe9607425
14 changed files with 167 additions and 102 deletions

View File

@@ -8,7 +8,7 @@ import {
getFilesByProjectId,
getFilesWithContent,
addFile,
deleteFile
deleteFile,
} from '../repositories/projectsRepo.js';
export async function getAllProjects(userId, options = {}) {
@@ -147,7 +147,10 @@ export async function addProjectFile(projectId, userId, fileData) {
export async function deleteProjectFile(fileId, userId) {
if (process.env.NODE_ENV === 'development') {
console.log('projectsService.deleteProjectFile() called for fileId:', fileId);
console.log(
'projectsService.deleteProjectFile() called for fileId:',
fileId
);
}
const deletedFile = await deleteFile(fileId, userId);