Skip to content

Commit

Permalink
fix(ts): missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
eteubert committed Nov 3, 2023
1 parent 40f5081 commit ebed7d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/sagas/auphonic.sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ function* handleStartProduction(
// episode data.

// start production
const response = yield auphonicApi.post(`production/${uuid}/start.json`, {})
const response: { result: any; error: any } = yield auphonicApi.post(
`production/${uuid}/start.json`,
{}
)

if (response.result) {
yield put(auphonic.setProduction(response.result.data))
Expand Down

0 comments on commit ebed7d1

Please sign in to comment.