aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/models/gen_models.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-07-01 19:39:02 +0200
committerMichael Muré <batolettre@gmail.com>2020-07-01 19:39:02 +0200
commit3cf31fc4049fefc82db0a3d2018b5d98ab77c5d7 (patch)
treec77a29e1f35fefa5040454976c6edcf86e7678bc /api/graphql/models/gen_models.go
parent33d510ac3999b3d8fa7a4652dc44a21c713f97de (diff)
downloadgit-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.go6
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 {