Skip to content

Commit eb28f01

Browse files
author
Sachin Maheshwari
committed
changes in endpoint of tc-email-service.
1 parent 4d3fa40 commit eb28f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/PlaceholderService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function getAllPlaceholders (name) {
1616
const cachedData = cache.get(`placeholders-${name}`)
1717
if (cachedData == null) {
1818
const data = await request
19-
.get(`${config.TC_EMAIL_SERVICE_URL}/templates/eventType/${name}`)
19+
.get(`${config.TC_EMAIL_SERVICE_URL}/templates/${name}`)
2020
.set('accept', 'json')
2121
.set('authorization', `Bearer ${config.TC_EMAIL_SERVICE_TOKEN}`)
2222
const parsedData = JSON.parse(data.text)

0 commit comments

Comments
 (0)