mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-03 16:10:31 +00:00
Fix DBKVStore value format
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user