]> source.dussan.org Git - gitea.git/commit
Fix 500 on time in timeline API (#21052) (#21057)
authorqwerty287 <80460567+qwerty287@users.noreply.github.com>
Sun, 4 Sep 2022 15:12:37 +0000 (17:12 +0200)
committerGitHub <noreply@github.com>
Sun, 4 Sep 2022 15:12:37 +0000 (16:12 +0100)
commit0ecbb71bee44abc42140ab43580e1346b9dc4d71
tree2c55663cf1ffc464b463aba123547b8bbab7ab0a
parentea38455e1f33e132bec0d601285407e1690e54e2
Fix 500 on time in timeline API (#21052) (#21057)

Backport #21052

Before converting a TrackedTime for the API we need to load its attributes - otherwise we get an NPE.

Fix #21041
modules/convert/issue_comment.go