likes
This commit is contained in:
@@ -133,9 +133,9 @@ export const useIdeaStore = defineStore('ideas', () => {
|
||||
}
|
||||
|
||||
// Assuming getIdeaGenerations is separate from getIdea
|
||||
async function fetchIdeaGenerations(ideaId, limit = 100, offset = 0) {
|
||||
async function fetchIdeaGenerations(ideaId, limit = 100, offset = 0, onlyLiked = false) {
|
||||
try {
|
||||
const response = await ideaService.getIdeaGenerations(ideaId, limit, offset);
|
||||
const response = await ideaService.getIdeaGenerations(ideaId, limit, offset, onlyLiked);
|
||||
return response;
|
||||
} catch (err) {
|
||||
console.error('Error fetching idea generations:', err);
|
||||
|
||||
Reference in New Issue
Block a user