mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-02 13:33:06 +00:00
Fix decimal value sent to the api
This commit is contained in:
parent
dd853530e0
commit
ab704aedd0
@ -87,7 +87,7 @@ export function StorageRequestCreate() {
|
||||
storageRequest;
|
||||
mutateAsync({
|
||||
...rest,
|
||||
duration: availability * Times.value(availabilityUnit),
|
||||
duration: Math.trunc(availability * Times.value(availabilityUnit)),
|
||||
expiry: expiration * 60,
|
||||
});
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user