Skip to content

Commit a6f71aa

Browse files
authored
Revert "docs: Add setSessionId to reference website (#397)"
This reverts commit c47c6f4.
1 parent c47c6f4 commit a6f71aa

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/amplitude-client.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -974,14 +974,6 @@ AmplitudeClient.prototype.setOptOut = function setOptOut(enable) {
974974
}
975975
};
976976

977-
/**
978-
* Set a custom Session ID for the current session.
979-
* Note: This is not recommended unless you know what you are doing because the Session ID of a session is utilized for all session metrics in Amplitude.
980-
* The Session ID to set for the current session must be in milliseconds since epoch (Unix Timestamp).
981-
* @public
982-
* @param {int} sessionId to set.
983-
* @example amplitudeClient.setSessionId(1622158968000);
984-
*/
985977
AmplitudeClient.prototype.setSessionId = function setSessionId(sessionId) {
986978
if (!utils.validateInput(sessionId, 'sessionId', 'number')) {
987979
return;

0 commit comments

Comments
 (0)