revert export
This commit is contained in:
parent
a66e4c0e5f
commit
543cf0de74
|
|
@ -280,6 +280,6 @@ export async function generateFetchCall(resource: Entry, style: FetchStyle = Fet
|
|||
return `fetch(${url}, ${options});`;
|
||||
}
|
||||
|
||||
export async function fetchRequestPostData(resource: Entry) {
|
||||
async function fetchRequestPostData(resource: Entry) {
|
||||
return resource.request.postData?._sha1 ? await fetch(`sha1/${resource.request.postData._sha1}`).then(r => r.text()) : resource.request.postData?.text;
|
||||
}
|
||||
Loading…
Reference in a new issue