Skip to content

Commit

Permalink
refactor: update useDeleteBuilds function signature in _builds API query
Browse files Browse the repository at this point in the history
  • Loading branch information
anovazzi1 committed Aug 6, 2024
1 parent 7001f9e commit b58400d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ interface IDeleteBuilds {
}

// add types for error handling and success
export const useDeleteBuilds: useMutationFunctionType<undefined,IDeleteBuilds> = (
options,
) => {
export const useDeleteBuilds: useMutationFunctionType<
undefined,
IDeleteBuilds
> = (options) => {
const { mutate } = UseRequestProcessor();

const deleteBuildsFn = async (payload: IDeleteBuilds): Promise<any> => {
Expand Down

0 comments on commit b58400d

Please sign in to comment.