Clean up and working on user related models, methods, and routes.

This commit is contained in:
Scott Idem
2021-06-11 15:04:42 -04:00
parent 29dfcc5440
commit d1f3a4c27e
3 changed files with 4 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ def load_post_comment_obj(
if post_comment_id := redis_lookup_id_random(record_id_random=post_comment_id, table_name='post_comment'): pass
else: return False
if post_comment_rec := sql_select(table_name='v_post_comment', record_id=post_comment_id):
if post_comment_rec := sql_select(table_name='v_post_comment_detail', record_id=post_comment_id):
#log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(post_comment_rec)
else: