Skip to content

Commit

Permalink
update notification message
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoromike committed Feb 11, 2019
1 parent aa0905b commit b4b4428
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/endpoints/logged_activities/secretary_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def put(self, logged_activity_id):

roles = User.query.filter(User.roles.any(Role.name=="success ops")).all()
users = User.query.all()
message = "New society points approved by society secretary. Go to https://societies.andela.com/u/verify-activities to review points" # noqa: E501
message = f"The society secretary for {logged_activity.society.name} has approved an activity " + \
f"worth {logged_activity.value} points. Go to https://societies.andela.com/u/verify-activities to approve or reject these points" # noqa: E501

logged_activity.status = payload.get('status')
if logged_activity.status == "pending":
Expand Down

0 comments on commit b4b4428

Please sign in to comment.