Skip to content

Commit

Permalink
fix: cast dashboard usage to be int
Browse files Browse the repository at this point in the history
  • Loading branch information
feng-tao committed Nov 11, 2020
1 parent 3a28f46 commit 8380e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databuilder/models/dashboard/dashboard_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self,
self._dashboard_group_id = dashboard_group_id
self._dashboard_id = dashboard_id
self._email = email
self._view_count = view_count
self._view_count = int(view_count)
self._product = product
self._cluster = cluster
self._user_model = User(email=email)
Expand Down

0 comments on commit 8380e3d

Please sign in to comment.