This repository was archived by the owner on Sep 5, 2025. It is now read-only.
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 () {
7676 } ) ;
7777 } ;
7878 DgraphClient . prototype . setSlashApiKey = function ( apiKey ) {
79- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
8079 this . clients . forEach ( function ( c ) { return c . setSlashApiKey ( apiKey ) ; } ) ;
8180 } ;
8281 DgraphClient . prototype . login = function ( userid , password ) {
Original file line number Diff line number Diff line change @@ -399,7 +399,6 @@ var DgraphClientStub = (function () {
399399 this . options . headers [ ALPHA_AUTH_TOKEN_HEADER ] = authToken ;
400400 } ;
401401 DgraphClientStub . prototype . setSlashApiKey = function ( apiKey ) {
402- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
403402 if ( this . options . headers === undefined ) {
404403 this . options . headers = { } ;
405404 }
Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ export class DgraphClient {
6060 }
6161
6262 /**
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
6465 */
6566
6667 public setSlashApiKey ( apiKey : string ) {
67- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
6868 this . clients . forEach ( ( c : DgraphClientStub ) => c . setSlashApiKey ( apiKey ) ) ;
6969 }
7070
Original file line number Diff line number Diff line change @@ -444,11 +444,11 @@ export class DgraphClientStub {
444444 }
445445
446446 /**
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
448449 */
449450
450451 public setSlashApiKey ( apiKey : string ) {
451- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
452452 if ( this . options . headers === undefined ) {
453453 this . options . headers = { } ;
454454 }
You can’t perform that action at this time.
0 commit comments