-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
fix: add createdAt in projects API response #3929
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
But what about the mapRow
function on line 555 of src/lib/db/project-store.ts
? It also doesn't include createdAt
. Is this something we should update too? I'm not sure exactly where it's called from (transitively).
I am confused 🤔 does it not map the createdAt on line 564? |
Oh, sorry, I'm confused. I must've missed that (even though I looked for it specifically). My bad! As you were 😅 |
This PR adds the "createdAt" field to the /api/projects response, so that we are compliant with the schema.
This PR adds the "createdAt" field to the /api/projects response, so that we are compliant with the schema.