Set API response as per Shlink v2

This commit is contained in:
Alejandro Celaya 2020-12-21 23:55:54 +01:00
parent 89f6c6c283
commit 6a354c277c

View file

@ -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 =>