pull/3542/head
Defi Boy 5 years ago committed by Joseph Izang
parent 6ccc9c9994
commit b572687532
  1. 12
      src/utils/template.ts

@ -140,14 +140,14 @@ export const getMethodDetails = (devMethod?: Partial<MethodDoc>) => {
const funcToGetTemplate = (devMethodDocTemplate as any)[key]; const funcToGetTemplate = (devMethodDocTemplate as any)[key];
if (!funcToGetTemplate) { if (!funcToGetTemplate) {
return '' return "";
} }
const funcParameter = (devMethod as any)[key] const funcParameter = (devMethod as any)[key];
const result = funcToGetTemplate(funcParameter) const result = funcToGetTemplate(funcParameter);
return result return result;
}) })
.join("\n"); .join("\n");
console.log('finalResult', finalResult) console.log("finalResult", finalResult);
return finalResult return finalResult;
}; };

Loading…
Cancel
Save