1
0
mirror of https://github.com/oceanprotocol/status synced 2024-11-22 09:47:02 +01:00

remove duero

This commit is contained in:
mihaisc 2020-06-28 09:51:06 +03:00
parent 469d1d459b
commit 990c33e74e
3 changed files with 11 additions and 9 deletions

View File

@ -1,8 +1,8 @@
version: 2 version: 2
updates: updates:
- package-ecosystem: npm - package-ecosystem: npm
directory: "/" directory: '/'
schedule: schedule:
interval: weekly interval: weekly
time: '03:00' time: '03:00'
timezone: Europe/Berlin timezone: Europe/Berlin

View File

@ -19,7 +19,9 @@ export default function Home() {
{atlas {atlas
.filter( .filter(
(item: NetworkProps) => (item: NetworkProps) =>
item.project === 'Ocean Protocol' && item.name !== 'Spree' item.project === 'Ocean Protocol' &&
item.name !== 'Spree' &&
item.name !== 'Duero'
) )
.reverse() .reverse()
.map((network: NetworkProps) => ( .map((network: NetworkProps) => (

View File

@ -35,7 +35,7 @@ axios.interceptors.request.use(
config.metadata = { startTime: new Date() } config.metadata = { startTime: new Date() }
return config return config
}, },
error => Promise.reject(error) (error) => Promise.reject(error)
) )
axios.interceptors.response.use( axios.interceptors.response.use(
@ -45,7 +45,7 @@ axios.interceptors.response.use(
response.config.metadata.endTime - response.config.metadata.startTime response.config.metadata.endTime - response.config.metadata.startTime
return response return response
}, },
error => { (error) => {
error.config.metadata.endTime = new Date() error.config.metadata.endTime = new Date()
error.duration = error.duration =
error.config.metadata.endTime - error.config.metadata.startTime error.config.metadata.endTime - error.config.metadata.startTime