Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #89 from sanjay-thiyagarajan/master
Browse files Browse the repository at this point in the history
Trying to fix the login page issue
  • Loading branch information
sanjay-thiyagarajan authored Mar 27, 2021
2 parents 5e41a71 + 8d3fb32 commit 67e3cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from .service import create_service

@allowed_users(allowed_roles=['administrator'])
async def dashboard(request):
def dashboard(request):
dates = StatusUpdate.objects.order_by('date').values('date').distinct()
if len(dates) != 0:
sdate = dates[len(dates)-1]['date']
Expand Down

0 comments on commit 67e3cb1

Please sign in to comment.