Skip to content

Commit 0c47657

Browse files
Add docstring for setServerURL
1 parent 7772347 commit 0c47657

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export class Mixpanel {
5959
*
6060
* @param {boolean} optOutTrackingDefault Optional Whether or not Mixpanel can start tracking by default. See optOutTracking()
6161
* @param {object} superProperties Optional A Map containing the key value pairs of the super properties to register
62+
* @param {string} serverURL Optional Set the base URL used for Mixpanel API requests. See setServerURL()
6263
*
6364
*/
6465
async init(optOutTrackingDefault = DEFAULT_OPT_OUT, superProperties = {}, serverURL = "https://api.mixpanel.com") {

0 commit comments

Comments
 (0)