Skip to content

Commit

Permalink
fix: Move branch out of components filters (#2750)
Browse files Browse the repository at this point in the history
  • Loading branch information
RulaKhaled authored Apr 5, 2024
1 parent 7a86cc7 commit 6dc03f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/repo/useRepoComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ interface FetchRepoComponentsArgs {
repo: string
filters?: {
components?: string[]
branch?: string
}
branch?: string
orderingDirection: 'ASC' | 'DESC'
interval: 'INTERVAL_30_DAY' | 'INTERVAL_7_DAY' | 'INTERVAL_1_DAY'
afterDate: string
Expand All @@ -120,6 +120,7 @@ function fetchRepoComponents({
interval,
afterDate,
beforeDate,
branch,
after,
signal,
}: FetchRepoComponentsArgs) {
Expand All @@ -136,6 +137,7 @@ function fetchRepoComponents({
afterDate,
beforeDate,
after,
branch,
},
}).then((res) => {
const parsedRes = RequestSchema.safeParse(res?.data)
Expand Down

0 comments on commit 6dc03f6

Please sign in to comment.