Skip to content

Commit

Permalink
fix(@aws-amplify/predictions): Missing return in AmazonAIConvertPredi…
Browse files Browse the repository at this point in the history
…ctionsProvider.ts (#7803)

Without this return, user will also get 'Source types other than byte source are not supported.' error.

Co-authored-by: William Lee <[email protected]>
  • Loading branch information
SebSchwartz and wlee221 authored Mar 1, 2021
1 parent c664a14 commit ad2dd86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class AmazonAIConvertPredictionsProvider extends AbstractConvertPredictio
},
};
} catch (err) {
Promise.reject(err);
return Promise.reject(err);
}
}

Expand Down

0 comments on commit ad2dd86

Please sign in to comment.