Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing createdDate on /api/send #3156

Open
DavidVentura opened this issue Jan 6, 2025 · 0 comments
Open

Support passing createdDate on /api/send #3156

DavidVentura opened this issue Jan 6, 2025 · 0 comments

Comments

@DavidVentura
Copy link

Describe the feature or enhancement

I would like to populate umami's database from access logs, but right now it's not possible, as createdDate is left as default on saveEvent, which makes the database insert now().

Allowing the API user to provide createdAt is fairly straightforward and solves the issue, but I'm not sure about the implications on the rest of the codebase.

I'll open a PR to discuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant