mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-24 17:44:50 +03:00
fixes bug with type
This commit is contained in:
parent
668d4dc7fc
commit
cd7a05c949
@ -83,8 +83,12 @@ export const getById = async ({ id }) => {
|
||||
library: user.data.library,
|
||||
|
||||
// TODO(jim): Move this elsewhere.
|
||||
allow_automatic_data_storage: user.data.allow_automatic_data_storage,
|
||||
allow_encrypted_data_storage: user.data.allow_encrypted_data_storage,
|
||||
allow_automatic_data_storage: user.data.allow_automatic_data_storage
|
||||
? user.data.allow_automatic_data_storage
|
||||
: null,
|
||||
allow_encrypted_data_storage: user.data.allow_encrypted_data_storage
|
||||
? user.data.allow_encrypted_data_storage
|
||||
: null,
|
||||
|
||||
// NOTE(jim): Remaining data.
|
||||
stats: {
|
||||
|
Loading…
Reference in New Issue
Block a user