Assign a random id for easier deduplication/debugging
This commit is contained in:
parent
7e604146d3
commit
8f0553170f
@ -388,6 +388,7 @@ function saveLabel(response) {
|
||||
overrides[response.secondaryIdentifier] = response.mark;
|
||||
browser.storage.local.set({ overrides: overrides });
|
||||
response.version = CURRENT_VERSION;
|
||||
response.submissionId = (Math.random() + '').replace('.', '');
|
||||
overrides[PENDING_SUBMISSIONS].push(response);
|
||||
submitPendingRatings();
|
||||
//console.log(response);
|
||||
|
Loading…
x
Reference in New Issue
Block a user