diff options
author | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-07-01 19:39:02 +0200 |
commit | 3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 (patch) | |
tree | c77a29e1f35fefa5040454976c6edcf86e7678bc /api/graphql/models/gen_models.go | |
parent | 33d510ac3999b3d8fa7a4652dc44a21c713f97de (diff) | |
download | git-bug-3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7.tar.gz |
repository: merge git.Hash in for one less /util package
Diffstat (limited to 'api/graphql/models/gen_models.go')
-rw-r--r-- | api/graphql/models/gen_models.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |