Skip to content

Commit

Permalink
renaming some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanmrli committed Dec 1, 2022
1 parent 042f594 commit 57e0e95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
4 changes: 2 additions & 2 deletions server/src/Controllers/transcriptUploadController.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const express = require('express')
const router = express.Router()
const auth = require('../Middleware/auth')
const multer = require('multer')
const uploadTranscriptInteractor = require('../UseCases/TranscriptUseCases/transcriptUploadInteractor')
const transcriptUploadInteractor = require('../UseCases/TranscriptUseCases/transcriptUploadInteractor')
const upload = multer()

/**
Expand All @@ -15,7 +15,7 @@ router.post('/uploadTranscript', auth, upload.single('file'), async (req, res) =
const filename = req.file.originalname

try {
await uploadTranscriptInteractor(user, file, filename)
await transcriptUploadInteractor(user, file, filename)
}
catch (e) {
return res.status(422).send(e.message)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const processTranscriptInteractor = require('./transcriptProcessInteractor')
const multiWOZconverter = require('./multiWOZconverter')


/**
* Processes the transcript that the user has uploaded using
Expand Down

0 comments on commit 57e0e95

Please sign in to comment.