Return `dataset` name in form attachments API in Backend
Open
backend
- Dominant language
- JavaScript
- Stars
- 226
- Forks
- 235
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 19
Description
There are a couple places in Frontend (and Backend) where a dataset is deduced from an attachment by removing a `.csv` extension from the attachment. The code is pretty straightforward but there could be some capitalization inconsistencies. This has been [centralized in Backend](https://github.com/getodk/central-backend/blob/master/lib/util/util.js#L83) and we could let Backend return the actual Dataset name for an attachment when it knows it is a dataset.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.