Exemple #1
0
 def insert_note(entity_id: int, note: str, public: bool) -> None:
     from openatlas.util.display import sanitize
     Db.insert_note(current_user.id, entity_id, sanitize(note, 'text'),
                    public)
Exemple #2
0
 def insert_note(entity_id: int, note: str, public: bool) -> None:
     Db.insert_note(current_user.id, entity_id, sanitize(note, 'text'),
                    public)