rev: reverted changes in js code gen

This commit is contained in:
Vidya Sagar
2024-01-07 20:21:37 +05:30
parent 9d8379e9ac
commit fe3bea31bd
5 changed files with 48 additions and 13 deletions

View File

@ -11,6 +11,7 @@ class AxiosCodeGen {
final bool isNodeJs;
String kStringImportNode = """{% if isNodeJs %}import axios from 'axios';
{% endif %}{% if isFormDataRequest and isNodeJs %}const fs = require('fs');{% endif %}
""";