Skip to content

Commit 8d87f61

Browse files
feat(clickhouse): Add organization.events_store attribute [ING-205]
1 parent c9c153a commit 8d87f61

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

spec/fixtures/api/organization.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"name": "Hooli",
44
"created_at": "2022-05-02T13:04:09Z",
55
"webhook_url": "https://test-example.example",
6-
"webhook_urls": [
7-
"https://test-example.example"
8-
],
6+
"webhook_urls": ["https://test-example.example"],
97
"country": null,
108
"default_currency": "USD",
119
"address_line1": null,
@@ -27,6 +25,7 @@
2725
"invoice_grace_period": 3,
2826
"document_locale": "fr"
2927
},
28+
"events_store": "clickhouse",
3029
"taxes": [
3130
{
3231
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",

spec/lago/api/resources/organization_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
expect(organization.document_number_prefix).to eq('ORG-1234')
3838
expect(organization.tax_identification_number).to eq('EU123456789')
3939
expect(organization.billing_configuration.invoice_grace_period).to eq(3)
40+
expect(organization.events_store).to eq('clickhouse')
4041
end
4142
end
4243

0 commit comments

Comments
 (0)