Skip to content

Commit

Permalink
Merge pull request #128 from BU-Spark/someBugFixes
Browse files Browse the repository at this point in the history
Some bug fixes
  • Loading branch information
raheeqi authored Nov 8, 2024
2 parents d6318ff + a875d4f commit a8be7eb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions backend/graphql/resolvers/graphql_resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const resolvers = {
Mutation: {
uploadCSV: async (_, { file, userId }, { db }) => {
try {
console.log(db);
const upload = await file; // Resolve the file promise to get the Upload object
if (!upload) {
throw new Error("No file uploaded");
Expand Down
15 changes: 0 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"graphql-subscriptions": "^2.0.0",
"graphql-upload-minimal": "^1.6.1",
"koa": "^2.15.3",
"luxon": "^3.5.0",
"node-fetch": "^2.7.0",
"react-loader-spinner": "^5.4.5",
"react-router-dom": "^6.22.3",
Expand Down

0 comments on commit a8be7eb

Please sign in to comment.