backend: INC_UPDATE -> INCIDENT_UPDATE

This commit is contained in:
Skip R. 2018-07-18 15:06:31 -07:00
parent aa0a200a59
commit a44574249a
No known key found for this signature in database
GPG key ID: 1508C19D7436A26D
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ def publish_update(manager, incident_id: int):
by requering the database.
"""
full = fetch_dict(manager.conn, incident_id)
manager.publish_incident(OP.INC_UPDATE, full)
manager.publish_incident(OP.INCIDENT_UPDATE, full)
def incident_dict(conn, row) -> dict:

View file

@ -19,7 +19,7 @@ class OP:
# incident specific
INCIDENT_NEW = 4
INC_UPDATE = 5
INCIDENT_UPDATE = 5
INCIDENT_CLOSE = 6