Skip to content

Commit 40c8bef

Browse files
authored
Fix return value of FieldsArray<google_firestore_admin_v1_Index>() (#9526)
1 parent 0336856 commit 40c8bef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Firestore/Protos/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ set(
3838
firestore/bundle
3939
google/api/annotations
4040
google/api/http
41+
google/firestore/admin/index
4142
google/firestore/v1/common
4243
google/firestore/v1/document
4344
google/firestore/v1/firestore

Firestore/core/src/nanopb/fields_array.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ inline const pb_field_t* FieldsArray<firestore_NamedQuery>() {
182182

183183
template <>
184184
inline const pb_field_t* FieldsArray<google_firestore_admin_v1_Index>() {
185-
return google_protobuf_Empty_fields;
185+
return google_firestore_admin_v1_Index_fields;
186186
}
187187

188188
template <>

0 commit comments

Comments
 (0)