Skip to content

Commit

Permalink
fix: Fix baseUrl construction missing protocol in URL
Browse files Browse the repository at this point in the history
Addresses TypeError [ERR_INVALID_URL] when working with GraphRequest objects
  • Loading branch information
domwebber committed Oct 3, 2023
1 parent bbf6645 commit 4490d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @since 2.0.0
*/
export const DEFAULT_GRAPH_API_BASE_URL = "graph.facebook.com";
export const DEFAULT_GRAPH_API_BASE_URL = "https://graph.facebook.com";

/**
* Default version for the Facebook Graph API.
Expand Down

0 comments on commit 4490d8d

Please sign in to comment.