Fixing up use of amplify to async request data