File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ class Particle {
28
28
* @param {string } [options.clientId]
29
29
* @param {number } [options.tokenDuration]
30
30
* @param {string } [options.auth] The access token. If not specified here, will have to be added to every request
31
- * @param {ToolContext } [options.tool] The tool context which will add the X-Particle-Tool header to every request
32
31
*/
33
32
constructor ( options = { } ) {
34
33
if ( options . auth ) {
@@ -38,7 +37,6 @@ class Particle {
38
37
// todo - this seems a bit dangerous - would be better to put all options/context in a contained object
39
38
Object . assign ( this , Defaults , options ) ;
40
39
this . context = { } ;
41
- this . setContext ( 'tool' , options . tool ) ;
42
40
43
41
this . agent = new Agent ( this . baseUrl ) ;
44
42
}
You can’t perform that action at this time.
0 commit comments