Browse Source

fix: null email in request to /share

KernelDeimos 11 tháng trước cách đây
mục cha
commit
bf63144f7a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/UI/UIWindowShare.js

+ 1 - 1
src/UI/UIWindowShare.js

@@ -216,7 +216,7 @@ async function UIWindowShare(items, recipient){
                 },
                 data: JSON.stringify({
                     recipients:[
-                        recipient_username
+                        recipient_username || recipient_email
                     ],
                     shares: [
                         {