From 3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 1 Jul 2020 19:39:02 +0200 Subject: repository: merge git.Hash in for one less /util package --- api/graphql/models/gen_models.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/graphql/models/gen_models.go') diff --git a/api/graphql/models/gen_models.go b/api/graphql/models/gen_models.go index cbece6fe..675c4b6b 100644 --- a/api/graphql/models/gen_models.go +++ b/api/graphql/models/gen_models.go @@ -8,7 +8,7 @@ import ( "strconv" "github.com/MichaelMure/git-bug/bug" - "github.com/MichaelMure/git-bug/util/git" + "github.com/MichaelMure/git-bug/repository" ) // An object that has an author. @@ -26,7 +26,7 @@ type AddCommentInput struct { // The first message of the new bug. Message string `json:"message"` // The collection of file's hash required for the first message. - Files []git.Hash `json:"files"` + Files []repository.Hash `json:"files"` } type AddCommentPayload struct { @@ -145,7 +145,7 @@ type NewBugInput struct { // The first message of the new bug. Message string `json:"message"` // The collection of file's hash required for the first message. - Files []git.Hash `json:"files"` + Files []repository.Hash `json:"files"` } type NewBugPayload struct { -- cgit