This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch removing-dead-code
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/removing-dead-code by this 
push:
     new f1ba6eba39 chore(cleanup): removing unused code
f1ba6eba39 is described below

commit f1ba6eba39ece90f9d8053d5416d3a07f796c808
Author: Evan Rusackas <[email protected]>
AuthorDate: Wed Nov 29 12:11:05 2023 -0700

    chore(cleanup): removing unused code
---
 superset-frontend/src/features/tags/tags.ts | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/superset-frontend/src/features/tags/tags.ts 
b/superset-frontend/src/features/tags/tags.ts
index db172681cb..056205141f 100644
--- a/superset-frontend/src/features/tags/tags.ts
+++ b/superset-frontend/src/features/tags/tags.ts
@@ -181,20 +181,6 @@ export function addTag(
     .catch(response => error(response));
 }
 
-export function fetchObjects(
-  { tags = '', types }: { tags: string; types: string | null },
-  callback: (json: JsonObject) => void,
-  error: (response: Response) => void,
-) {
-  let url = `/api/v1/tag/get_objects/?tags=${tags}`;
-  if (types) {
-    url += `&types=${types}`;
-  }
-  SupersetClient.get({ endpoint: url })
-    .then(({ json }) => callback(json.result))
-    .catch(response => error(response));
-}
-
 export function fetchObjectsByTagIds(
   {
     tagIds = [],

Reply via email to