Skip to content

Commit 87e21de

Browse files
committed
PR feedback
1 parent a9fb73b commit 87e21de

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.changeset/new-bugs-think.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
"@firebase/functions-compat": patch
33
"@firebase/functions": patch
4-
"firebase-size-analysis": patch
54
---
65

76
Add httpsCallableFromURL

e2e/sample-apps/modular.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ async function authLogout(app) {
118118
*/
119119
async function callFunctions(app) {
120120
console.log('[FUNCTIONS] start');
121-
let functions = getFunctions(app);
122-
let callTest = httpsCallable(functions, 'callTest');
121+
const functions = getFunctions(app);
122+
const callTest = httpsCallable(functions, 'callTest');
123123
try {
124124
const result = await callTest({ data: 'blah' });
125125
console.log('[FUNCTIONS] result (by name):', result.data);

packages/functions/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function httpsCallable<RequestData = unknown, ResponseData = unknown>(
9393
}
9494

9595
/**
96-
* Returns a reference to the callable HTTPS trigger with the given name.
96+
* Returns a reference to the callable HTTPS trigger with the specified url.
9797
* @param url - The url of the trigger.
9898
* @public
9999
*/

repo-scripts/size-analysis/bundle-definitions/functions.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"path": "functions",
2323
"imports": [
2424
"getFunctions",
25-
"httpsCallable",
26-
"httpsCallableFromURL"
25+
"httpsCallable"
2726
]
2827
}
2928
]

0 commit comments

Comments
 (0)