feat: updade workspace
This commit is contained in:
@@ -12,6 +12,11 @@ export class GoalsController {
|
||||
return ok(await this.service.start(body, actorFromHeaders(headers)));
|
||||
}
|
||||
|
||||
@Get('projects')
|
||||
projects(@Headers() headers: Record<string, string | string[] | undefined>) {
|
||||
return ok(this.service.projects(actorFromHeaders(headers)));
|
||||
}
|
||||
|
||||
@Get()
|
||||
list(@Headers() headers: Record<string, string | string[] | undefined>, @Query('limit') limit?: string) {
|
||||
return ok(this.service.list(actorFromHeaders(headers), Number(limit) || 20));
|
||||
|
||||
Reference in New Issue
Block a user