Refine OAuth flow
This commit is contained in:
parent
78a85df86b
commit
7975bc244d
8 changed files with 134 additions and 32 deletions
|
@ -37,7 +37,7 @@ class Card extends BaseFactory
|
|||
*/
|
||||
public function createFromUriId(int $uriId)
|
||||
{
|
||||
$item = Post::selectFirst(['nody'], ['uri-id' => $uriId]);
|
||||
$item = Post::selectFirst(['body'], ['uri-id' => $uriId]);
|
||||
if (!empty($item['body'])) {
|
||||
$data = BBCode::getAttachmentData($item['body']);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue