mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-28 04:36:45 +00:00
Dropped support for Shlink 1
This commit is contained in:
@@ -125,7 +125,7 @@ export default class ShlinkApiClient {
|
||||
|
||||
// When the request is not invalid or we have already tried both API versions, throw the error and let the
|
||||
// caller handle it
|
||||
if (!apiVersionIsNotSupported || this.apiVersion === 1) {
|
||||
if (!apiVersionIsNotSupported || this.apiVersion === 2) {
|
||||
throw e;
|
||||
}
|
||||
|
||||
|
||||
@@ -65,8 +65,6 @@ export interface ProblemDetailsError {
|
||||
detail: string;
|
||||
title: string;
|
||||
status: number;
|
||||
error?: string; // Deprecated
|
||||
message?: string; // Deprecated
|
||||
[extraProps: string]: any;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user