feat: apply reviewed goal patches
This commit is contained in:
@@ -27,6 +27,11 @@ export class GoalsController {
|
||||
return ok(this.service.list(actorFromHeaders(headers), Number(limit) || 20));
|
||||
}
|
||||
|
||||
@Post(':id/apply')
|
||||
apply(@Param('id') id: string, @Headers() headers: Record<string, string | string[] | undefined>) {
|
||||
return ok(this.service.apply(id, actorFromHeaders(headers)));
|
||||
}
|
||||
|
||||
@Get(':id')
|
||||
get(@Param('id') id: string, @Headers() headers: Record<string, string | string[] | undefined>) {
|
||||
return ok(this.service.get(id, actorFromHeaders(headers)));
|
||||
|
||||
Reference in New Issue
Block a user