File size: 318 Bytes
b59aa07
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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;
  }
}