chore: sync project snapshot for gitea/github upload
This commit is contained in:
@@ -189,7 +189,7 @@ export class EnhancedApiClient {
|
||||
}
|
||||
|
||||
async getActivities(): Promise<any[]> {
|
||||
const response = await this.requestData<any>('/api/v1/activities')
|
||||
const response = await this.requestData<any>('/api/v1/me/activities')
|
||||
// 兼容分页响应 (content 字段) 和数组响应
|
||||
if (response && typeof response === 'object' && 'content' in response) {
|
||||
return response.content || []
|
||||
|
||||
Reference in New Issue
Block a user