Normalize action message
This commit is contained in:
2
note.py
2
note.py
@@ -113,7 +113,7 @@ def delete_note(note_id, conn):
|
||||
print('could not find note {}'.format(note_id))
|
||||
sys.exit(1)
|
||||
|
||||
record_action(cursor, TypeAction.DELETE, 'delete note')
|
||||
record_action(cursor, TypeAction.DELETE, '', note_id=note_id)
|
||||
|
||||
print('deleted note {}: {}'.format(note_id, 'note_name'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user