mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Fix DBKVStore value format
This commit is contained in:
parent
f8a7f1c1f9
commit
0651aab1be
@ -55,7 +55,7 @@ class DBKVStore extends BaseImplementation {
|
||||
[ user.id, key_hash ]
|
||||
);
|
||||
|
||||
return kv[0] ? { key: kv[0].key, value: kv[0].value } : null;
|
||||
return kv[0]?.value ?? null;
|
||||
},
|
||||
set: async function ({ key, value }) {
|
||||
const actor = this.context.get('actor');
|
||||
|
Loading…
Reference in New Issue
Block a user