Commit ·
d45da3a
1
Parent(s): 58f8884
update last update
Browse files2 unmodified lines34567827 unmodified lines363738394041422 unmodified linesfrom pymongo import MongoClientfrom dependency import get_manager, load_dbfrom bson.objectid import ObjectIdcookie_manager = get_manager()auth_state = cookie_manager.get(cookie='auth_state')27 unmodified lines"title": new_title,"questions": new_questions_list,"answer": new_answer,"time_updated": pd.Timestamp.now().value})st.success("New FAQ added successfully!")2 unmodified lines345678927 unmodified lines373839404142432 unmodified linesfrom pymongo import MongoClientfrom dependency import get_manager, load_dbfrom bson.objectid import ObjectIdfrom datetime import datetimecookie_manager = get_manager()auth_state = cookie_manager.get(cookie='auth_state')27 unmodified lines"title": new_title,"questions": new_questions_list,"answer": new_answer,"time_updated": datetime.now().timestamp() * 1000})st.success("New FAQ added successfully!")
pages/manage_faqs.py+2-1