diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-09 01:31:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 01:31:00 +0100 |
commit | 9e1a987b4d94dc5c2115423ede5954d4faf1d342 (patch) | |
tree | e30bb28d55444a7d1e66c8fa8b8ba7d413805473 /graphql/resolvers/identity.go | |
parent | 97bc5ccd229b7b438262a84e3c42783b4d4a82af (diff) | |
parent | 9b1aaa032d36e1ac05504916e359f767d1622d9d (diff) | |
download | git-bug-9e1a987b4d94dc5c2115423ede5954d4faf1d342.tar.gz |
Merge pull request #294 from MichaelMure/cred-metadata
Cred metadata
Diffstat (limited to 'graphql/resolvers/identity.go')
-rw-r--r-- | graphql/resolvers/identity.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphql/resolvers/identity.go b/graphql/resolvers/identity.go index da8e7b08..d36669d0 100644 --- a/graphql/resolvers/identity.go +++ b/graphql/resolvers/identity.go @@ -15,6 +15,7 @@ func (identityResolver) ID(ctx context.Context, obj identity.Interface) (string, return obj.Id().String(), nil } -func (identityResolver) HumanID(ctx context.Context, obj identity.Interface) (string, error) { +func (r identityResolver) HumanID(ctx context.Context, obj identity.Interface) (string, error) { return obj.Id().Human(), nil + } |