aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-03-10 16:56:46 +0100
committerGitHub <noreply@github.com>2022-03-10 16:56:46 +0100
commit069a4c975f945f153c5b1802305f13c1c4e82927 (patch)
treee24bfb44747bf150b0d5bc6f87a7c54e06264fb2 /bug/operation.go
parentb1fc312aac59af299cadb394d67d3de6c9026b4f (diff)
parentfd14a0763ebf0bcdf6a719aafcbf73f7f5153400 (diff)
downloadgit-bug-069a4c975f945f153c5b1802305f13c1c4e82927.tar.gz
Merge pull request #763 from MichaelMure/resolve-entity
entity: allow to resolve identities when numashalling operations
Diffstat (limited to 'bug/operation.go')
-rw-r--r--bug/operation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/operation.go b/bug/operation.go
index b3610381..2e86921a 100644
--- a/bug/operation.go
+++ b/bug/operation.go
@@ -71,7 +71,7 @@ func idOperation(op Operation, base *OpBase) entity.Id {
return base.id
}
-func operationUnmarshaller(author identity.Interface, raw json.RawMessage) (dag.Operation, error) {
+func operationUnmarshaller(author identity.Interface, raw json.RawMessage, resolver identity.Resolver) (dag.Operation, error) {
var t struct {
OperationType OperationType `json:"type"`
}