[database][js] rename internal property
This commit is contained in:
parent
e800756bfa
commit
1b309d1dae
|
@ -24,14 +24,14 @@ export const NAMESPACE = 'database';
|
|||
* @class Database
|
||||
*/
|
||||
export default class Database extends ModuleBase {
|
||||
_databaseURL: string;
|
||||
|
||||
_offsetRef: Reference;
|
||||
|
||||
_serverTimeOffset: number;
|
||||
|
||||
_transactionHandler: TransactionHandler;
|
||||
|
||||
_serviceUrl: string;
|
||||
|
||||
constructor(appOrCustomUrl: App | string, customUrl?: string) {
|
||||
let app;
|
||||
let url;
|
||||
|
@ -60,7 +60,7 @@ export default class Database extends ModuleBase {
|
|||
);
|
||||
|
||||
this._serverTimeOffset = 0;
|
||||
this._serviceUrl = serviceUrl;
|
||||
this._databaseURL = url;
|
||||
this._transactionHandler = new TransactionHandler(this);
|
||||
|
||||
if (app.options.persistence) {
|
||||
|
@ -115,7 +115,7 @@ export default class Database extends ModuleBase {
|
|||
* @returns {string}
|
||||
*/
|
||||
get databaseUrl(): string {
|
||||
return this._serviceUrl;
|
||||
return this._databaseURL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue