@niledatabase/server 3.0.0-alpha.35 → 3.0.0-alpha.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4512,7 +4512,10 @@ var Server = /*#__PURE__*/function () {
|
|
|
4512
4512
|
// propagate special config items
|
|
4513
4513
|
this.tenantId = updatedConfig.tenantId;
|
|
4514
4514
|
this.userId = updatedConfig.userId;
|
|
4515
|
-
|
|
4515
|
+
// if we have a token, update it, else use the one that was there
|
|
4516
|
+
if (updatedConfig.api.token) {
|
|
4517
|
+
this.token = updatedConfig.api.token;
|
|
4518
|
+
}
|
|
4516
4519
|
this.databaseId = updatedConfig.databaseId;
|
|
4517
4520
|
return this;
|
|
4518
4521
|
};
|