Skip to content

Commit e6bc6ed

Browse files
committed
not going to try changing a string back to an object ID on the app repo side, oof
1 parent 48d2da0 commit e6bc6ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

proto/viam/app/v1/app.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,7 @@ message GetRobotAPIKeysResponse {
712712
message DeleteRobotPartResponse {}
713713

714714
message Fragment {
715-
// deprecated to instead use the default _id in MongoDB of type ObjectID
716-
string id = 1 [deprecated = true];
715+
string id = 1 [(tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];
717716
string name = 2 [(tagger.v1.tags) = "bson:\"name\" json:\"name\""];
718717
google.protobuf.Struct fragment = 3 [(tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
719718
string organization_owner = 4 [(tagger.v1.tags) = "bson:\"organization_owner\" json:\"owner\""];

0 commit comments

Comments
 (0)