Forráskód Böngészése

fix: null email in request to /share

KernelDeimos 11 hónapja
szülő
commit
bf63144f7a
1 módosított fájl, 1 hozzáadás és 1 törlés
  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: [
                         {