Add populate announcement job

This commit is contained in:
garrettmills
2020-08-12 21:49:02 -05:00
parent 1458e4126b
commit 9a35bd60e1
3 changed files with 101 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ class ReflectController extends Controller {
})
await announcement.save()
await announcement.log_populate()
return res.api(await announcement.to_api())
}