ibbyreact
CCConvex Community
•Created by ibbyreact on 9/4/2024 in #general
hi tema,
maybe becasue it has "" that is throwing an error with conves as my understanding the "" is reserved to convex system
27 replies
CCConvex Community
•Created by ibbyreact on 9/4/2024 in #general
hi tema,
if i remove the return respose the error dispear
27 replies
CCConvex Community
•Created by ibbyreact on 9/4/2024 in #general
hi tema,
btw, i added a retun response for this
export const getUsers = action({
handler: async () => {
const response = await clerkClient.users.getUserList();
console.log('USERS', response);
return response.data;
},
});
and now i get the same error
27 replies
CCConvex Community
•Created by ibbyreact on 9/4/2024 in #general
hi tema,
btw, i am a noob and teaching myself how to program so i can build a tool for my business.. so i might have some fundamentals erros
27 replies
CCConvex Community
•Created by ibbyreact on 9/4/2024 in #general
hi tema,
'INVITATIONS' {
data: [
_Invitation {
id: 'inv_2lYsQsr83hXeMCBdPO9uEt5nzgT',
emailAddress: 'ibrahim.s.amin@gmail.com',
publicMetadata: [Object],
createdAt: 1725368330622,
updatedAt: 1725368330622,
status: 'pending',
revoked: undefined
},
_Invitation {
id: 'inv_2lYnM1xCtU0hagy9Lqw0Gsy5O9w',
emailAddress: 'ibrahim@marvelhomes.com.au',
publicMetadata: [Object],
createdAt: 1725365825401,
updatedAt: 1725365883582,
status: 'accepted',
revoked: undefined
}
],
totalCount: 2
}
27 replies
CCConvex Community
•Created by ibbyreact on 9/4/2024 in #general
hi tema,
this is the funciton. i am trying to get a list of all the results back so i can use it in my react front end
export const getInvitations = action({
handler: async () => {
const response = await clerkClient.invitations.getInvitationList();
const result = response;
console.log('INVITATIONS', response);
return result.data;
},
});
27 replies