Skip to content

Commit 830e70e

Browse files
committed
fix: function param bug
1 parent 8622b61 commit 830e70e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

network.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function getApertureClient(){
3737
* }
3838
* }
3939
* */
40-
export async function makeRequest(method, url, options) {
40+
export async function makeRequest(method, url, requestOptions) {
4141
return new Promise((resolve, reject) => {
4242
// Ensure options is an object and set the method
4343
requestOptions = typeof requestOptions === 'object' ? requestOptions : {};
@@ -91,7 +91,7 @@ export async function makeRequest(method, url, options) {
9191
* }
9292
* }
9393
* */
94-
export async function makeRequestWithRateLimit(method, url, requestOptions){
94+
export async function makeRequestWithRateLimit(method, url, options){
9595
const flow = await getApertureClient().startFlow("external-api-request", {
9696
labels: {
9797
url: url,

0 commit comments

Comments
 (0)