mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 05:32:26 +08:00
rev: reverted changes in js code gen
This commit is contained in:
@ -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 %}
|
||||
""";
|
||||
|
||||
|
Reference in New Issue
Block a user