Skip to content

Commit

Permalink
fix(feed): 修复 At 内容不存在的情况下类型校验错误
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Aug 15, 2018
1 parent 3fdea35 commit 28ea574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slimkit-plus-feed/src/API2/FeedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public function store(StoreFeedPostRequest $request)
return response()->json(['message' => '发布成功', 'id' => $feed->id])->setStatusCode(201);
});

$this->sendAtMessage($feed->feed_content, $user, $feed);
$this->sendAtMessage((string) $feed->feed_content, $user, $feed);

return $response;
}
Expand Down

0 comments on commit 28ea574

Please sign in to comment.