Skip to content

Commit 4d69723

Browse files
committed
Add discuss post link
1 parent 55ec1c7 commit 4d69723

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

lib/client.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {

lib/clientStub.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/clientStub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)