Skip to content

Commit

Permalink
Update IPC.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jelveh committed Jun 17, 2024
1 parent f7a0549 commit afe37a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/IPC.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ window.addEventListener('message', async (event) => {
puter.kv.set({
key: event.data.key,
value: event.data.value,
app: app_uuid,
app_uid: app_uuid,
}).then(() => {
// send confirmation to requester window
target_iframe.contentWindow.postMessage({
Expand All @@ -202,7 +202,7 @@ window.addEventListener('message', async (event) => {
else if(event.data.msg === 'getItem' && event.data.key){
puter.kv.get({
key: event.data.key,
app: app_uuid,
app_uid: app_uuid,
}).then((result) => {
// send confirmation to requester window
target_iframe.contentWindow.postMessage({
Expand All @@ -218,7 +218,7 @@ window.addEventListener('message', async (event) => {
else if(event.data.msg === 'removeItem' && event.data.key){
puter.kv.del({
key: event.data.key,
app: app_uuid,
app_uid: app_uuid,
}).then(() => {
// send confirmation to requester window
target_iframe.contentWindow.postMessage({
Expand Down

0 comments on commit afe37a6

Please sign in to comment.