Skip to content

Commit

Permalink
fixed api_methods.py on line 125
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor committed Jun 23, 2015
1 parent 5ff9b22 commit 0a28692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opt_out_http_api/api_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ def delete_address(self, request, addresstype, address):
return self.response(request, opt_out=opt_out)

@app.route('/optouts/count', methods=['GET'])
def count_address(self, request):
def get_opt_out_count(self, request):
count = self.count_opt_outs()
return self.response(request, opt_out_count=count)

0 comments on commit 0a28692

Please sign in to comment.