make sure product data is synced
This commit is contained in:
parent
fccde5869f
commit
6d46ba81dc
1 changed files with 2 additions and 2 deletions
|
@ -67,10 +67,10 @@ export default class product {
|
|||
if (!this.#snip) {throw new ReferenceError((new texts(`error_msg_notattached`)).localized)};
|
||||
|
||||
// Save the data to the storage.
|
||||
secretariat.write([`sites`, this.URL, `data`], this.#snip);
|
||||
secretariat.write([`sites`, this.URL, `data`], this.#snip, 1);
|
||||
|
||||
// Write the analysis data to the storage.
|
||||
(this[`analysis`]) ? secretariat.write([`sites`, this.URL, `analysis`], this.analysis): false;
|
||||
(this[`analysis`]) ? secretariat.write([`sites`, this.URL, `analysis`], this.analysis, 1): false;
|
||||
};
|
||||
|
||||
async analyze() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue