Skip to content

Commit bba631e

Browse files
authored
feat: allow starknet addresses in proposals and votes (#1020)
1 parent 8ef7dad commit bba631e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/graphql/operations/proposals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function (parent, args) {
1212
id: 'string',
1313
ipfs: 'string',
1414
space: 'string',
15-
author: 'evmAddress',
15+
author: ['evmAddress', 'starknetAddress'],
1616
network: 'string',
1717
created: 'number',
1818
updated: 'number',

src/graphql/operations/votes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function query(parent, args, context?, info?) {
2121
id: 'string',
2222
ipfs: 'string',
2323
space: 'string',
24-
voter: 'evmAddress',
24+
voter: ['evmAddress', 'starknetAddress'],
2525
proposal: 'string',
2626
reason: 'string',
2727
app: 'string',

0 commit comments

Comments
 (0)