mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix: crash when extracting attachments from notes
This commit is contained in:
@@ -153,7 +153,7 @@ export default class Sync {
|
||||
|
||||
async _uploadAttachments(token) {
|
||||
const attachments = this._db.attachments.pending;
|
||||
console.log("Uploading attachments", attachments);
|
||||
console.log("Uploading attachments", this._db.attachments.pending);
|
||||
for (let attachment of attachments) {
|
||||
const { hash } = attachment.metadata;
|
||||
const url = await this._getPresignedURL(hash, token, "PUT");
|
||||
|
||||
Reference in New Issue
Block a user