Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(core-sdk): CB-1523 change license year
  • Loading branch information
devnaumov committed Jan 19, 2022
commit 796eb561b6126495690d00e63118ff026511e2a7
6 changes: 1 addition & 5 deletions webapp/packages/core-sdk/src/CustomGraphQLClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ function isClientError(obj: any): obj is ClientError {
return obj instanceof ClientError || obj.response;
}

function isObjectError(obj: any) {
if (!isClientError(obj)) {
return false;
}

function isObjectError(obj: ClientError) {
return obj.response.data !== undefined && !!obj.response.errors;
}
2 changes: 1 addition & 1 deletion webapp/packages/core-sdk/src/PlainGQLError.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2021 DBeaver Corp and others
* Copyright (C) 2020-2022 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion webapp/packages/core-utils/src/getTextBetween.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2021 DBeaver Corp and others
* Copyright (C) 2020-2022 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
Expand Down