Fix: update return type for getAllUserMemoriesAndSpaces

This commit is contained in:
Kush Thaker 2024-09-10 14:08:52 +05:30
parent e05c644143
commit a5e2aec4b1

View file

@ -162,7 +162,6 @@ export const getMemoriesInsideSpace = async (
export const getAllUserMemoriesAndSpaces = async (): ServerActionReturnType<{
spaces: StoredSpace[];
memories: Content[];
userId: string;
}> => {
const data = await auth();