Jay

Results 856 comments of Jay

Hmm I gave it a try and couldn't repro it. But I used the `response-lib.js` from here https://github.com/AnomalyInnovations/serverless-stack-demo-api/blob/master/libs/response-lib.js. Maybe yours is different? Can you post that here? And your `serverless.yml`...

@chrisanderss0n Are the paths correct here? In your `createCard.js`: ```js import { success, failure } from "../libs/response-lib"; ``` But your `createCard.js` is in your project root right? Shouldn't this be...

@chrisanderss0n I had tried your setup and got it to work with `import { success, failure } from "./libs/response-lib";` instead of the path you were using, `import { success, failure...

@vinyoliver I know in @chrisanderss0n's case I found the path was set incorrectly. I'm not sure what the issue is for your case. Can you make a repo or post...

@walshe Two approaches. Higher Order Components, if there are common methods. Or take a look at the markup and handlers and try to split them up by components that can...

@rafapetter That's a really good question. With the IAM way of authorization you don't have direct access to the custom attributes of your User Pool. While this sounds bad, it...

@rafapetter Thanks for the kind words. AFAIK, with Sync you can very easily get/put something on a per user basis on the client side. I haven't looked into reading it...

@rafapetter I see. That does seem tricky. Out of curiosity, how come you aren't storing this account id in the DB?

@rafapetter I might not be completely clear on this but do you have a mapping of the user_id to account_id in the database? If you do then you wouldn't need...