mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Set API response as per Shlink v2
This commit is contained in:
parent
89f6c6c283
commit
6a354c277c
1 changed files with 1 additions and 1 deletions
|
@ -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 =>
|
||||||
|
|
Loading…
Reference in a new issue