@@ -18,11 +18,11 @@ const server = new grpc.Server();
1818addReflection ( server , "./descriptor_set.bin" ) ;
1919
2020const NEWS = [
21- { id : "1" , title : "Note 1" , body : "Content 1" , postImage : "Post image 1" } ,
22- { id : "2" , title : "Note 2" , body : "Content 2" , postImage : "Post image 2" } ,
23- { id : "3" , title : "Note 3" , body : "Content 3" , postImage : "Post image 3" } ,
24- { id : "4" , title : "Note 4" , body : "Content 4" , postImage : "Post image 4" } ,
25- { id : "5" , title : "Note 5" , body : "Content 5" , postImage : "Post image 5" } ,
21+ { id : 1 , title : "Note 1" , body : "Content 1" , postImage : "Post image 1" } ,
22+ { id : 2 , title : "Note 2" , body : "Content 2" , postImage : "Post image 2" } ,
23+ { id : 3 , title : "Note 3" , body : "Content 3" , postImage : "Post image 3" } ,
24+ { id : 4 , title : "Note 4" , body : "Content 4" , postImage : "Post image 4" } ,
25+ { id : 5 , title : "Note 5" , body : "Content 5" , postImage : "Post image 5" } ,
2626] ;
2727
2828server . addService ( newsProto . NewsService . service , {
0 commit comments