Skip to content

Commit

Permalink
adding logging db
Browse files Browse the repository at this point in the history
  • Loading branch information
raheeqi committed Nov 8, 2024
1 parent 2e10d21 commit a875d4f
Showing 1 changed file with 1 addition and 0 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

0 comments on commit a875d4f

Please sign in to comment.