Skip to content

Commit 3c3d950

Browse files
committed
setter nit
1 parent fa0c44f commit 3c3d950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/amplitude-client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,7 @@ AmplitudeClient.prototype.__VERSION__ = function getVersion() {
18491849
* @param {string} version - Custom library version
18501850
*/
18511851
AmplitudeClient.prototype.setLibrary = function setLibrary(name, version) {
1852-
return (this.options.library = { name, version });
1852+
this.options.library = { name: name, version: version };
18531853
};
18541854

18551855
/**

0 commit comments

Comments
 (0)