mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-27 04:06:39 +00:00
Set API response as per Shlink v2
This commit is contained in:
@@ -86,7 +86,7 @@ interface InvalidArgumentError extends ProblemDetailsError {
|
||||
|
||||
interface InvalidShortUrlDeletion extends ProblemDetailsError {
|
||||
type: 'INVALID_SHORTCODE_DELETION';
|
||||
threshold?: number;
|
||||
threshold: number;
|
||||
}
|
||||
|
||||
export const isInvalidArgumentError = (error?: ProblemDetailsError): error is InvalidArgumentError =>
|
||||
|
||||
Reference in New Issue
Block a user