Compare commits

..

No commits in common. "f6e588cc7291b72e0d3c2b895731e3847e729b8b" and "4e294430c2c4c528ca98e427be056de1a2028b61" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -1,11 +1,10 @@
// (c) Vitaliy Filippov, 2024
// License: Mozilla Public License 2.0 or Vitastor Network Public License 1.1
class RequestError extends Error
class RequestError
{
constructor(code, text, details)
{
super();
this.code = code;
this.message = text;
this.details = details;

View File

@ -444,7 +444,7 @@ class EtcTree
}
for (const key in this.leases[id].keys)
{
this._delete_range({ key: this.use_base64 ? this.b64(key) : key }, next_revision, notifications);
this._delete_range({ key }, next_revision, notifications);
}
delete this.leases[id];
}