From eb76915d5e82563bec0c77f280a1010b1c715e43 Mon Sep 17 00:00:00 2001 From: Carlos Sosa Date: Mon, 22 Jun 2020 12:33:53 -0700 Subject: Fix Item proto struct --- api/api.proto | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'api') diff --git a/api/api.proto b/api/api.proto index 796e34b..465a0c5 100644 --- a/api/api.proto +++ b/api/api.proto @@ -2,17 +2,18 @@ syntax = "proto3"; package api; import "google/api/annotations.proto"; +import "google/protobuf/timestamp.proto"; message PingMessage { string greeting = 1; } message Item { - int32 id = 1 + int32 id = 1; string field = 2; string field2 = 3; google.protobuf.Timestamp created = 5; - google.protobuf.Timestamp last_updated = 5; + google.protobuf.Timestamp last_updated = 6; } service Ping { -- cgit v1.3-2-g0d8e