mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-16 20:43:48 +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 {
|
interface InvalidShortUrlDeletion extends ProblemDetailsError {
|
||||||
type: 'INVALID_SHORTCODE_DELETION';
|
type: 'INVALID_SHORTCODE_DELETION';
|
||||||
threshold?: number;
|
threshold: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const isInvalidArgumentError = (error?: ProblemDetailsError): error is InvalidArgumentError =>
|
export const isInvalidArgumentError = (error?: ProblemDetailsError): error is InvalidArgumentError =>
|
||||||
|
|||||||
Reference in New Issue
Block a user