Skip to content

Commit ca130b8

Browse files
committed
FIX - Error in Deploy
1 parent bf42acf commit ca130b8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

server/routes/api/checkout.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ async function saveLetters(transactionId, constituentId, letter, html, deliveryM
7070
}
7171

7272
router.post('/create-transaction', async (req, res) => {
73+
const stripe = new Stripe();
74+
const db = require('../../db/connection');
75+
7376
try {
7477
const { sessionId } = req.body;
7578

src/router/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Vue from 'vue'
22
import VueRouter from 'vue-router'
3-
import Home from '../views/Home.vue'
43
import SearchReps from '../components/SearchReps'
54
import RepresentativeCard from '../components/RepresentativeCard'
65
import scrollBehavior from './scroll-behavior'

0 commit comments

Comments
 (0)