mbos2 / url-shortener

Simple, Selfhosted, URLShortener service
MIT License
8 stars 3 forks source link

Bug: Missing document id inside document data, making it unable to fetch and delete. #11

Closed mbos2 closed 1 year ago

mbos2 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Expected behavior Should delete short URL record

Reason A backend issue exists on how the document ID is fetched. It should exist in the database document as well, which is missing. Therefore impossible to delete URL record.

Small refactoring on how document id iniside collection is generated and stored is necessary.

mbos2 commented 1 year ago

Closed with #12