Skip to content

Commit e1e2664

Browse files
committed
Final Project
1 parent 39a3f26 commit e1e2664

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.DS_Store
22
node_modules
33
package-lock.json
4-
.env
4+
.env

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ app.post('/update-cobj', async (req, res) => {
6262
const createDog = `https://api.hubapi.com/crm/v3/objects/2-166947950/`;
6363
const headers = {
6464
Authorization: `Bearer ${PRIVATE_APP_ACCESS}`,
65-
'Content-Type': 'application/json'
65+
'Content-Type': 'application/json'
6666
};
6767
try {
6868
await axios.post(createDog, create, { headers } );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
"express": "^4.18.2",
1414
"pug": "^3.0.2"
1515
}
16-
}
16+
}

views/contacts.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
//- each contact in data
1313
//- .card
1414
//- h2.card__name #{contact.properties.firstname} #{contact.properties.lastname}
15-
//- p.card__email #{contact.properties.email}
15+
//- p.card__email #{contact.properties.email}

views/homepage.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ body
88
p #[a(href=`http://localhost:3007/update-cobj`) Add to this table]
99
body
1010
main
11-
.container
11+
.container
1212
table.table
1313
tr
1414
th(style='width: 200px; display: left; max-width:33%;') name

0 commit comments

Comments
 (0)