Skip to content

Commit

Permalink
fix: function param bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gitcommitshow committed Dec 11, 2023
1 parent 8622b61 commit 830e70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function getApertureClient(){
* }
* }
* */
export async function makeRequest(method, url, options) {
export async function makeRequest(method, url, requestOptions) {
return new Promise((resolve, reject) => {
// Ensure options is an object and set the method
requestOptions = typeof requestOptions === 'object' ? requestOptions : {};
Expand Down Expand Up @@ -91,7 +91,7 @@ export async function makeRequest(method, url, options) {
* }
* }
* */
export async function makeRequestWithRateLimit(method, url, requestOptions){
export async function makeRequestWithRateLimit(method, url, options){
const flow = await getApertureClient().startFlow("external-api-request", {
labels: {
url: url,
Expand Down

0 comments on commit 830e70e

Please sign in to comment.