mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Remove old error models and examples from swagger spec
This commit is contained in:
@@ -30,6 +30,9 @@ class ListRedirectRulesAction extends AbstractRestAction
|
||||
);
|
||||
$rules = $this->ruleService->rulesForShortUrl($shortUrl);
|
||||
|
||||
return new JsonResponse(['redirectRules' => $rules]);
|
||||
return new JsonResponse([
|
||||
'defaultLongUrl' => $shortUrl->getLongUrl(),
|
||||
'redirectRules' => $rules,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user