1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-28 16:47:52 +02:00

remove status and text status check on start job (#489)

This commit is contained in:
Bogdan Fazakas 2021-04-10 12:34:08 +03:00 committed by GitHub
parent b1a2b2453d
commit ab71ba187f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,11 +395,7 @@ export default function Compute({
selectedAlgorithmAsset.dataToken selectedAlgorithmAsset.dataToken
) )
if ( if (!response) {
!response ||
response.status !== 10 ||
response.statusText !== 'Job started'
) {
setError('Error starting compute job.') setError('Error starting compute job.')
return return
} }