barrels
barrels copied to clipboard
Can't manually set foreign key with populate()?
I'm having a bit of problem where the app
foreignKey isn't set when running barrels.populate(...)
, looks fine in the barrels.data
, any idea what I'm missing? Thanks for the help.
App.json
[
{
"id": "SsQbM0b10QCuWxMj11tnUIh0OJBDX64sttSsrR5U",
"name": "My App",
"createdBy": 1,
"ownedBy": 1,
"createdAt": "2015-10-30T22:19:58.921Z"
}
]
AuthStrategy.json
[
{
"type": "facebook",
"id": 1,
"ownedBy": 2,
"app": "SsQbM0b10QCuWxMj11tnUIh0OJBDX64sttSsrR5U",
"accessToken": "..."
}
]