mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 20:13:21 +03:00
18cfe79b80
Solves https://github.com/twentyhq/private-issues/issues/118 **TLDR** Fix webhook response not sending data to tinybird when the url is not a link. **Changes in Tinybird:** - Add column Success to webhook payload (boolean) - Changed the parameter WebhookIdRequest to WebhookId in the getWebhooksResponse api point. - Those changes can be seen in the tinybird workspace twenty_analytics_playground **In order to test** 1. Set ANALYTICS_ENABLED to true 2. Set TINYBIRD_INGEST_TOKEN to your token from the workspace twenty_analytics_playground 3. Set TINYBIRD_GENERATE_JWT_TOKEN to the admin kwt token from the workspace twenty_analytics_playground 4. Set TINYBIRD_WORKSPACE_UUID to the UUID of twenty_analytics_playground 5. Create a Webhook in twenty and set wich events it needs to track 6. Run twenty-worker in order to make the webhooks work. 7. Do your tasks in order to populate the data 8. Look at your webhooks in settings>api and webhooks> your webhook and the statistics should be displayed |
||
---|---|---|
.. | ||
__mocks__ | ||
.storybook | ||
public | ||
scripts | ||
src | ||
.env.example | ||
.eslintrc-ci.cjs | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierignore | ||
.swcrc | ||
codegen-metadata.cjs | ||
codegen.cjs | ||
folderStructure.json | ||
index.html | ||
jest.config.ts | ||
nyc.config.cjs | ||
package.json | ||
project.json | ||
README.md | ||
setupTests.ts | ||
tsconfig.build.json | ||
tsconfig.dev.json | ||
tsconfig.json | ||
tsconfig.spec.json | ||
tsconfig.storybook.json | ||
tsup.config.ts | ||
tsup.ui.index.tsx | ||
vite.config.ts |
Run yarn dev
while server running on port 3000