-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add ability to add to shares database #417
Conversation
9c41c7a
to
54e1f04
Compare
force push to rebase |
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.
ltgm, seems to be a bit of duplication with some posts stuff, but that's tech debt we ain't paying off
services/database/share_servicer.py
Outdated
req.article_id | ||
) | ||
except sqlite3.Error as e: | ||
self._db.commit() |
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.
This looks kind of similar to mine, I recently rethought how to handle the error and changed this to self._db.discard_cursor()
which should disregard the changes
I moved the duplicated section between the posts servicer and the share servicer a lot. Tried merging the posts stuff with the share system so every post would hold the same stuff. It ended up a lot nastier so i went with this. |
closes #28