Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add-to-group PostConfirmation Lambda should not throw
/** * For some reason, naively returning a value / Promise or throwing an error * will not work as it is specified in the Lambda docs: * @see https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html * * This causes an "Invalid JSON" error which can, so far, only be worked * around by resolving with deprecated non-async `callback`: * @see aws-amplify#2735 * @see aws-amplify#4341 * @see aws-amplify#7179 */
- Loading branch information