We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e0e28 commit 14d5cb0Copy full SHA for 14d5cb0
lib/logging/entry.js
@@ -161,7 +161,7 @@ Entry.prototype.toJSON = function() {
161
162
if (is.object(this.data)) {
163
entry.jsonPayload = GrpcService.objToStruct_(this.data, {
164
- serialize: true
+ stringify: true
165
});
166
} else if (is.string(this.data)) {
167
entry.textPayload = this.data;
test/logging/entry.js
@@ -185,7 +185,7 @@ describe('Entry', function() {
185
FakeGrpcService.objToStruct_ = function(obj, options) {
186
assert.strictEqual(obj, input);
187
assert.deepEqual(options, {
188
189
190
return converted;
191
};
0 commit comments