Skip to content

Commit

Permalink
fix: nullable created
Browse files Browse the repository at this point in the history
  • Loading branch information
songwongtp committed Jan 2, 2024
1 parent 31204a5 commit 329502b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/services/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ const zContractRest = z.object({
contract_info: z.object({
code_id: z.string(),
creator: zAddr,
admin: zAddr.optional(),
admin: zAddr,
label: z.string(),
created: z
.object({
block_height: z.string(),
tx_index: z.string(),
})
.optional(),
.nullable(),
ibc_port_id: z.string(),
extension: z.string().nullable(),
}),
Expand Down

0 comments on commit 329502b

Please sign in to comment.