We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18ef0cd commit b3d4984Copy full SHA for b3d4984
1 file changed
angular-ngrx-scss/src/app/repository/services/repository.service.ts
@@ -392,7 +392,7 @@ export class RepositoryService {
392
}
393
394
// Find the link with rel="last"
395
- const lastLinkPattern = /<[^>]+>; rel="last"/;
+ const lastLinkPattern = /<([^>]+?)>; rel="last"/;
396
const lastLinkMatch = linkHeader.match(lastLinkPattern);
397
398
if (!lastLinkMatch) {
0 commit comments