From 8f6ef0ddeb83da09ac4ba04e451f9ad65f0147cf Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Tue, 9 May 2017 15:58:24 +0200 Subject: [PATCH] Adding repositories/id to URL_VALIDATOR This is a nondocumented public way of getting a repository by ID. --- src/grammar/url-validator.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grammar/url-validator.coffee b/src/grammar/url-validator.coffee index b039433b..d898f968 100644 --- a/src/grammar/url-validator.coffee +++ b/src/grammar/url-validator.coffee @@ -28,7 +28,7 @@ module.exports = /// ^ | rate_limit | feeds | events - | repositories + | repositories (/\d+)? | notifications | notifications / threads (/[^/]+) | notifications / threads (/[^/]+) / subscription