Skip to content

Commit 9375883

Browse files
committed
update getSubscriptionUsers doc
1 parent 9518b0b commit 9375883

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/functions/functions/getSubscriptionUsers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ The `getSubscriptionUsers` Firebase Cloud Function retrieves a paginated list of
1010
### Function Signature
1111

1212
```typescript
13-
export const getSubscriptionUsers = onCall(async (request) => { ... });
13+
export const getSubscriptionUsers = https.onCall(async (data, context) => { ... });
1414
```
1515

1616
### Parameters
1717

18-
The function expects the following data in the `request.data` object:
18+
The function expects the following data in the `data` object:
1919

2020
| Parameter | Type | Description | Required |
2121
| :--------------- | :------- | :----------------------------------------------------------------------- | :------- |
@@ -25,7 +25,7 @@ The function expects the following data in the `request.data` object:
2525

2626
### Context
2727

28-
The function requires an authenticated user context (`request.auth`). The authenticated user must also possess an admin permission level within the target subscription.
28+
The function requires an authenticated user context (`context.auth`). The authenticated user must also possess an admin permission level within the target subscription.
2929

3030
### Behavior
3131

0 commit comments

Comments
 (0)