diff options
Diffstat (limited to 'network/receivepack/service/command.go')
| -rw-r--r-- | network/receivepack/service/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network/receivepack/service/command.go b/network/receivepack/service/command.go index 0fd8961e..4d234214 100644 --- a/network/receivepack/service/command.go +++ b/network/receivepack/service/command.go @@ -22,7 +22,7 @@ func fillCommandErrors(result *Result, commands []Command, errText string) { } func isDelete(command Command) bool { - return command.NewID == objectid.Zero(command.NewID.Algorithm()) + return command.NewID == command.NewID.Algorithm().Zero() } func objectIDPointer(id objectid.ObjectID) *objectid.ObjectID { |
