mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fix history
This commit is contained in:
parent
8831c46e39
commit
bbeef61afd
@ -3,7 +3,7 @@ import { Account } from '@oceanprotocol/squid'
|
|||||||
export async function getUserJobs(ocean: any, account: string) {
|
export async function getUserJobs(ocean: any, account: string) {
|
||||||
try {
|
try {
|
||||||
const accounts = await ocean.accounts.list()
|
const accounts = await ocean.accounts.list()
|
||||||
const account=accounts[0]
|
const account = accounts[0]
|
||||||
|
|
||||||
await account.authenticate()
|
await account.authenticate()
|
||||||
const jobList = await ocean.compute.status(account)
|
const jobList = await ocean.compute.status(account)
|
||||||
|
Loading…
Reference in New Issue
Block a user