Skip to content

Commit

Permalink
Template test methods rename for article
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanyoung-dev committed Aug 13, 2024
1 parent c360b4f commit 00d59ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class TemplateService extends BaseService {
* Pass in an object of variables to test ex. { "name": "John Doe" }
* @returns Promise<ITestTemplateOutput | undefined> Returns a test template output
*/
public TestTemplateVariables = async (
public TestNewTemplate = async (
templateElements: ITemplateElement[],
variables: any
): Promise<ITestTemplateOutput | undefined> => {
Expand Down Expand Up @@ -104,7 +104,7 @@ export class TemplateService extends BaseService {
* Pass in an object of variables to test ex. { "name": "John Doe" }
* @returns Promise<ITestTemplateRenderOutput | undefined> Returns a test template render output
*/
public TestTemplateRender = async (friendlyId: string, templateParams: any) => {
public TestExistingTemplate = async (friendlyId: string, templateParams: any) => {
try {
const response = await this.Post(`v3/templates/renderTemplates`, {
templates: { test: { friendlyId, templateParams } },
Expand Down

0 comments on commit 00d59ba

Please sign in to comment.