Skip to content

Commit

Permalink
Fixed hyphen regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ajstewart committed Aug 10, 2020
1 parent 1346825 commit 4de1151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ def list(self, request):
class ValidateRunConfigSet(ViewSet):
authentication_classes = [SessionAuthentication, BasicAuthentication]
permission_classes = [IsAuthenticated]
lookup_value_regex = '[\w]+'
lookup_value_regex = '[-\w]+'
lookup_field = 'runname'

def retrieve(self, request, runname=None):
Expand Down

0 comments on commit 4de1151

Please sign in to comment.