transforming response and getting the right object back for the line

This commit is contained in:
talksik
2022-05-05 08:56:40 -05:00
parent d013212054
commit 7f5eba7732
7 changed files with 116 additions and 38 deletions
+4 -3
View File
@@ -37,10 +37,11 @@ export function useUserSearch(searchQuery: string) {
});
}
export function useUserConvos() {
// todo: merge with sockets + audio clip data + master data + convomember data
export function useUserLines() {
// todo: base/source of truth for getting all of the lines for the user
// merge with sockets + audio clip data + master data + convomember data
return useQuery("USER_CONVERSATIONS", ApiCalls.getUserConversations);
return useQuery("USER_LINES", ApiCalls.getUserLines);
}
// =========== MUTATIONS