Skip to content

Commit a94b276

Browse files
committed
fix: return items from res
1 parent 488c8d7 commit a94b276

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/stores/one.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ export const useOneStore = defineStore('one', (): OneState => {
254254
try {
255255
isLoading.value = true
256256
const res = await http.get('/one/activity')
257-
258-
return res
257+
return res.items
259258
} catch (error: any) {
260259
queue.showError(error?.message ?? 'Error fetching recent activity')
261260
} finally {

0 commit comments

Comments
 (0)