mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fix tests
This commit is contained in:
parent
f6be84e76f
commit
54f437a6e6
@ -2,8 +2,6 @@ import { Account } from '@oceanprotocol/squid'
|
|||||||
|
|
||||||
export async function getUserJobs(ocean: any, account: string) {
|
export async function getUserJobs(ocean: any, account: string) {
|
||||||
try {
|
try {
|
||||||
let account: Account
|
|
||||||
;[account] = await ocean.accounts.list()
|
|
||||||
const account = await ocean.accounts.list()
|
const account = await ocean.accounts.list()
|
||||||
|
|
||||||
await account.authenticate()
|
await account.authenticate()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user