Skip to content

Commit

Permalink
Refactor deployService function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Feb 18, 2024
1 parent ab2d9a6 commit c79bbdd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions frontend/service/Services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ const getServices = async (): Promise<Services> =>
* @param payload
* @returns
*/
const deployService = async (
serviceHash: ServiceHash,
): Promise<Deployment> =>
const deployService = async (serviceHash: ServiceHash): Promise<Deployment> =>
fetch(`${BACKEND_URL}/services/${serviceHash}/deploy`, {
method: "POST",
headers: {
Expand Down
5 changes: 0 additions & 5 deletions frontend/types/BuildServiceResponse.ts

This file was deleted.

0 comments on commit c79bbdd

Please sign in to comment.