mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 07:15:25 +00:00
Fix chats service - lowercase response object
This commit is contained in:
@@ -221,7 +221,7 @@ type CreateChatResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Chat *Chat `protobuf:"bytes,1,opt,name=Chat,proto3" json:"Chat,omitempty"`
|
||||
Chat *Chat `protobuf:"bytes,1,opt,name=chat,proto3" json:"chat,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CreateChatResponse) Reset() {
|
||||
@@ -512,9 +512,9 @@ var file_proto_chats_proto_rawDesc = []byte{
|
||||
0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65,
|
||||
0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65,
|
||||
0x72, 0x49, 0x64, 0x73, 0x22, 0x35, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x68,
|
||||
0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x43, 0x68,
|
||||
0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x63, 0x68,
|
||||
0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x73,
|
||||
0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x04, 0x43, 0x68, 0x61, 0x74, 0x22, 0x60, 0x0a, 0x14, 0x43,
|
||||
0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x04, 0x63, 0x68, 0x61, 0x74, 0x22, 0x60, 0x0a, 0x14, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
|
||||
@@ -585,7 +585,7 @@ var file_proto_chats_proto_goTypes = []interface{}{
|
||||
var file_proto_chats_proto_depIdxs = []int32{
|
||||
8, // 0: chats.Chat.created_at:type_name -> google.protobuf.Timestamp
|
||||
8, // 1: chats.Message.sent_at:type_name -> google.protobuf.Timestamp
|
||||
0, // 2: chats.CreateChatResponse.Chat:type_name -> chats.Chat
|
||||
0, // 2: chats.CreateChatResponse.chat:type_name -> chats.Chat
|
||||
1, // 3: chats.CreateMessageResponse.message:type_name -> chats.Message
|
||||
8, // 4: chats.ListMessagesRequest.sent_before:type_name -> google.protobuf.Timestamp
|
||||
9, // 5: chats.ListMessagesRequest.limit:type_name -> google.protobuf.Int32Value
|
||||
|
||||
@@ -35,7 +35,7 @@ message CreateChatRequest {
|
||||
}
|
||||
|
||||
message CreateChatResponse {
|
||||
Chat Chat = 1;
|
||||
Chat chat = 1;
|
||||
}
|
||||
|
||||
message CreateMessageRequest {
|
||||
|
||||
Reference in New Issue
Block a user