mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 15:22:47 +01:00
Release catalyst
This commit is contained in:
11
service/task.go
Normal file
11
service/task.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/SecurityBrewery/catalyst/generated/restapi/api"
|
||||
)
|
||||
|
||||
func (s *Service) ListTasks(ctx context.Context) *api.Response {
|
||||
return response(s.database.TaskList(ctx))
|
||||
}
|
||||
Reference in New Issue
Block a user