Skip to content

Commit 2dfa987

Browse files
fix(message/aggregate): Remove keys query param when no value is passed (#177)
1 parent cb0249a commit 2dfa987

File tree

1 file changed

+1
-1
lines changed
  • packages/message/src/aggregate

1 file changed

+1
-1
lines changed

packages/message/src/aggregate/impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class AggregateMessageClient {
3131
const response = await axios.get<AggregateGetResponse<T>>(`${this.apiServer}/api/v0/aggregates/${address}.json`, {
3232
socketPath: getSocketPath(),
3333
params: {
34-
keys: keys ? keys.join(',') : undefined,
34+
keys: keys.length > 0 ? keys.join(',') : undefined,
3535
},
3636
})
3737

0 commit comments

Comments
 (0)