Join Slack
Powered by
<@U9J3Z0GDA> commented on <@U8PB0QPHU>’s file <htt...
# orm-help
u
user
04/18/2018, 12:28 PM
@tsdexter
commented on
@Waweru
’s file
https://prisma.slack.com/files/U8PB0QPHU/FA8Q3Q2N6/-.js
: Oh, I see it. Looks like you're returning on the first iteration. But if
customerData
is already an array and you want an array, can't you just do:
Copy code
return await axios(`${BaseURL}/customers`) .then(resp => resp.data);
-.js
4
Views
Open in Slack
Previous
Next