Skip to content

Commit

Permalink
Fix bug in Item.toJson that assigned wrong userAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Jul 27, 2020
1 parent 1abff3b commit 4c39bfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# The directory where queue items are
queueDirectory = "/Users/justincampbell/GitHub/ecn-queue/webqueue/q-snapshot"

# Queues to not load in getQueues()
queuesToIgnore = ["archives", "drafts", "inbox"]


#------------------------------------------------------------------------------#
Expand Down Expand Up @@ -48,7 +50,7 @@ def __init__(self, queue: str, number: int) -> None:
"isLocked": self.isLocked,
"userEmail": self.userEmail,
"userName": self.userName,
"userAlias": self.userName,
"userAlias": self.userAlias,
"assignedTo": self.assignedTo,
"subject": self.subject,
"status": self.status
Expand Down

0 comments on commit 4c39bfe

Please sign in to comment.