We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c36cb9 commit 9b87ddbCopy full SHA for 9b87ddb
src/cloud-functions.ts
@@ -73,7 +73,7 @@ export interface MakeCloudFunctionArgs<EventData> {
73
after?: (raw: Event<any>) => void;
74
}
75
76
-function _makeParams(event: Event<any>, triggerResource: string): { [option: string]: any } {
+function _makeParams(event: Event<any>, triggerResource: string): { [option: string]: any } {
77
if (!event.resource) { // In unit testing, "resource" may not be populated for a test event.
78
return event.params || {};
79
0 commit comments