Skip to content

Commit

Permalink
Removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
avelynhc committed Jul 20, 2023
1 parent d347026 commit 7a554e8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/routes/api/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ const path = require('node:path');

// Update an existing fragment
module.exports = async (req, res) => {
const reqBody = req.body;
logger.debug(req, 'req.body');

if(!process.env.API_URL) {
logger.warn('missing expected env var: API_URL');
throw new Error('missing expected env var: API_URL');
Expand Down

0 comments on commit 7a554e8

Please sign in to comment.