Skip to content

Commit

Permalink
update function id
Browse files Browse the repository at this point in the history
  • Loading branch information
docimin committed Aug 23, 2024
1 parent 7a16c48 commit 587d3ed
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/(main)/users/page.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function ClientPage() {
setIsFetching(true)
try {
const data = await functions.createExecution(
'65e2126d9e431eb3c473',
'user-endpoints',
'',
false,
`/users?limit=250`, // You can specify a static limit here if desired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function ClientPage({
setIsFetching(true)
try {
const data = await functions.createExecution(
'65e2126d9e431eb3c473',
'user-endpoints',
'',
false,
`/user/followers?userId=${user.$id}&limit=250`, // You can specify a static limit here if desired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function ClientPage({
setIsFetching(true)
try {
const data = await functions.createExecution(
'65e2126d9e431eb3c473',
'user-endpoints',
'',
false,
`/user/following?userId=${user.$id}&limit=250`, // You can specify a static limit here if desired
Expand Down
2 changes: 1 addition & 1 deletion src/utils/actions/account/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function deleteAccount() {
try {
const { account, functions } = await createSessionServerClient()
await functions.createExecution(
'65e2126d9e431eb3c473',
'user-endpoints',
'',
true,
'/deleteAccount',
Expand Down
2 changes: 1 addition & 1 deletion src/utils/server-api/followers/getFollowers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function getFollowers(
): Promise<Followers.FollowerDocumentsType> {
const { functions } = await createSessionServerClient()
const data = await functions.createExecution(
'65e2126d9e431eb3c473',
'user-endpoints',
'',
false,
`/user/followers?userId=${userId}&limit=${limit}&offset=${offset}`,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/server-api/followers/getFollowing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function getFollowing(
): Promise<Followers.FollowerDocumentsType> {
const { functions } = await createSessionServerClient()
const data = await functions.createExecution(
'65e2126d9e431eb3c473',
'user-endpoints',
'',
false,
`/user/following?userId=${userId}&limit=${limit}&offset=${offset}`,
Expand Down

0 comments on commit 587d3ed

Please sign in to comment.