Browse Source

ref(js): Remove unused fetchProjectSavedSearches (#40750)

Evan Purkhiser 2 years ago
parent
commit
6ef4794f6b
1 changed files with 0 additions and 11 deletions
  1. 0 11
      static/app/actionCreators/savedSearches.tsx

+ 0 - 11
static/app/actionCreators/savedSearches.tsx

@@ -30,17 +30,6 @@ export function fetchSavedSearches(api: Client, orgSlug: string): Promise<SavedS
   return promise;
 }
 
-export function fetchProjectSavedSearches(
-  api: Client,
-  orgSlug: string,
-  projectId: string
-): Promise<SavedSearch[]> {
-  const url = `/projects/${orgSlug}/${projectId}/searches/`;
-  return api.requestPromise(url, {
-    method: 'GET',
-  });
-}
-
 const getRecentSearchUrl = (orgSlug: string): string =>
   `/organizations/${orgSlug}/recent-searches/`;