Update StoryController, add postgres bug fix

This commit is contained in:
Daniel Supernault 2022-01-05 18:17:05 -07:00
parent 454b4e21dd
commit ddf41dc347
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ class StoryController extends StoryComposeController
$r = new \StdClass;
$r->id = $s->id;
$r->profile_id = $s->profile_id;
$r->type = $s->type;
$r->path = $s->path;
return $r;
})
->unique('profile_id');