aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/resolvers/timeline.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/graphql/resolvers/timeline.go')
-rw-r--r--api/graphql/resolvers/timeline.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/api/graphql/resolvers/timeline.go b/api/graphql/resolvers/timeline.go
index 3223b3a0..2481784e 100644
--- a/api/graphql/resolvers/timeline.go
+++ b/api/graphql/resolvers/timeline.go
@@ -6,7 +6,7 @@ import (
"github.com/MichaelMure/git-bug/api/graphql/graph"
"github.com/MichaelMure/git-bug/api/graphql/models"
- "github.com/MichaelMure/git-bug/bug"
+ "github.com/MichaelMure/git-bug/entities/bug"
)
var _ graph.CommentHistoryStepResolver = commentHistoryStepResolver{}
@@ -96,10 +96,6 @@ func (setStatusTimelineItem) Date(_ context.Context, obj *bug.SetStatusTimelineI
return &t, nil
}
-func (setStatusTimelineItem) Status(_ context.Context, obj *bug.SetStatusTimelineItem) (models.Status, error) {
- return convertStatus(obj.Status)
-}
-
var _ graph.SetTitleTimelineItemResolver = setTitleTimelineItem{}
type setTitleTimelineItem struct{}