This commit is contained in:
2019-11-18 15:13:51 +09:00
parent ab81556651
commit 9e62774eb4
20 changed files with 89 additions and 89 deletions

View File

@ -154,7 +154,7 @@ func (post *Post) OnLike(likedBy *User) {
}
// GetPost ...
func GetPost(id string) (*Post, error) {
func GetPost(id PostID) (*Post, error) {
obj, err := DB.Get("Post", id)
if err != nil {