File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ var DgraphClient = (function () {
76
76
} ) ;
77
77
} ;
78
78
DgraphClient . prototype . setSlashApiKey = function ( apiKey ) {
79
- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
80
79
this . clients . forEach ( function ( c ) { return c . setSlashApiKey ( apiKey ) ; } ) ;
81
80
} ;
82
81
DgraphClient . prototype . login = function ( userid , password ) {
Original file line number Diff line number Diff line change @@ -399,7 +399,6 @@ var DgraphClientStub = (function () {
399
399
this . options . headers [ ALPHA_AUTH_TOKEN_HEADER ] = authToken ;
400
400
} ;
401
401
DgraphClientStub . prototype . setSlashApiKey = function ( apiKey ) {
402
- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
403
402
if ( this . options . headers === undefined ) {
404
403
this . options . headers = { } ;
405
404
}
Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ export class DgraphClient {
60
60
}
61
61
62
62
/**
63
- * @deprecated since v21.3 and will be removed in v21.07 release.
63
+ * @deprecated since v21.3 and will be removed in v21.07 release. For more details, see:
64
+ * https://discuss.dgraph.io/t/regarding-slash-cloud-dgraph-endpoints-in-the-clients/13492
64
65
*/
65
66
66
67
public setSlashApiKey ( apiKey : string ) {
67
- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
68
68
this . clients . forEach ( ( c : DgraphClientStub ) => c . setSlashApiKey ( apiKey ) ) ;
69
69
}
70
70
Original file line number Diff line number Diff line change @@ -444,11 +444,11 @@ export class DgraphClientStub {
444
444
}
445
445
446
446
/**
447
- * @deprecated since v21.3 and will be removed in v21.07 release.
447
+ * @deprecated since v21.3 and will be removed in v21.07 release. For more details, see:
448
+ * https://discuss.dgraph.io/t/regarding-slash-cloud-dgraph-endpoints-in-the-clients/13492
448
449
*/
449
450
450
451
public setSlashApiKey ( apiKey : string ) {
451
- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
452
452
if ( this . options . headers === undefined ) {
453
453
this . options . headers = { } ;
454
454
}
You can’t perform that action at this time.
0 commit comments