1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

pregenerate warning fix

This commit is contained in:
Matthias Kretschmann 2022-01-17 17:06:46 +00:00
parent 3224e1cf9d
commit 0129806159
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -25,7 +25,7 @@ import content from '../../../../../content/price.json'
Decimal.set({ toExpNeg: -18, precision: 18, rounding: 1 })
const poolLiquidityQuery = gql`
query PoolLiquidity($pool: ID!, $owner: ID) {
query PoolLiquidity($pool: ID!, $owner: String) {
pool(id: $pool) {
id
totalShares
@ -53,7 +53,7 @@ const poolLiquidityQuery = gql`
`
const userPoolShareQuery = gql`
query PoolShare($pool: ID!, $user: ID) {
query PoolShare($pool: ID!, $user: String) {
pool(id: $pool) {
id
shares(where: { user: $user }) {