issues
search
include-davis
/
Include-CMS
In-house CMS system for future clients to use and deploy for free
MIT License
1
stars
1
forks
source link
API: deleteCollectionItem - lib
#34
Open
Austin2Shih
opened
6 months ago
Austin2Shih
commented
6 months ago
[ ] write async deleteCollectionItem(collection, id: string)
within _datalib/collections
return the following format: {ok: boolean, body: body || null, error: error || null}
Use try/catch and the custom Errors defined in _utils/response/Errors
Feel free to create new Error types if you see fit (following error code conventions for HTTP)