OpenHands / frontend /src /api /suggestions-service /suggestions-service.api.ts
Backup-bdg's picture
Upload 565 files
b59aa07 verified
raw
history blame
318 Bytes
import { SuggestedTask } from "#/components/features/home/tasks/task.types";
import { openHands } from "../open-hands-axios";
export class SuggestionsService {
static async getSuggestedTasks(): Promise<SuggestedTask[]> {
const { data } = await openHands.get("/api/user/suggested-tasks");
return data;
}
}