Index: service/datastore/key.go |
diff --git a/service/datastore/key.go b/service/datastore/key.go |
index 227858858bc76da9850d0ecb019ca1ed6eac8320..2071bfb7b2ad01ceed9c42592d5d6ba01fb6b053 100644 |
--- a/service/datastore/key.go |
+++ b/service/datastore/key.go |
@@ -37,9 +37,9 @@ func (k KeyTok) Special() bool { |
// ID returns the 'active' id as a Property (either the StringID or the IntID). |
func (k KeyTok) ID() Property { |
if k.StringID != "" { |
- return Property{value: k.StringID, propType: PTString} |
+ return MkProperty(k.StringID) |
} |
- return Property{value: k.IntID, propType: PTInt} |
+ return MkProperty(k.IntID) |
} |
// Less returns true iff k would sort before other. |