This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
Uploading file to collection with alternative primary key fails #671
Labels
bug
Something isn't working
Projects
Bug Report
When you have a collection that uses a primary key that's called something else then
id
, uploading a file fails. This is due to the fact that the API tries to use the name of the primary key field of the collection in directus_files, which fails:The
WHERE
q_nummer= ''
is wrong. I think this is supposed to beWHERE
id= '1'
.The text was updated successfully, but these errors were encountered: