Skip to content

Commit

Permalink
fix: fix error throwing for machines.create
Browse files Browse the repository at this point in the history
  • Loading branch information
abrgr committed Oct 2, 2023
1 parent 21544b1 commit 0d14455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export class StateBackedClient {
slug: machineName,
};

adaptErrors(
return adaptErrors(
await this.opts.fetch(
`${this.opts.apiHost}/machines`,
{
Expand Down

0 comments on commit 0d14455

Please sign in to comment.