Fixed typo in commenst for fictionalDate and editedDate resolvers

This commit is contained in:
2018-07-07 13:10:54 +02:00
parent 87cd5e8e3a
commit 4bbb8bb9ae
+2 -2
View File
@@ -55,12 +55,12 @@ func (r *ChapterResolver) CreatedDate() string {
return r.C.CreatedDate.Format(time.RFC3339Nano)
}
// FictionalDate resolves Chapter.createdDate
// FictionalDate resolves Chapter.fictionalDate
func (r *ChapterResolver) FictionalDate() string {
return r.C.FictionalDate.Format(time.RFC3339Nano)
}
// EditedDate resolves Chapter.createdDate
// EditedDate resolves Chapter.editedDate
func (r *ChapterResolver) EditedDate() string {
return r.C.EditedDate.Format(time.RFC3339Nano)
}