Skip to content

Commit 537b866

Browse files
committed
Add configs api (#82)
* feat: add configs api * fix: skip returning allocatorMode when no depository is set
1 parent a4950a2 commit 537b866

File tree

1 file changed

+1
-1
lines changed
  • src/api/queries/chains

1 file changed

+1
-1
lines changed

src/api/queries/chains/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878
? await getOffchainAllocatorForChain(id)
7979
: await getOnchainAllocatorForChain(id)
8080
: undefined,
81-
allocatorMode,
81+
allocatorMode: chains[id].depository ? allocatorMode : undefined,
8282
};
8383
})
8484
),

0 commit comments

Comments
 (0)