mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 23:32:47 +01:00
14 lines
278 B
Go
14 lines
278 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
"net/url"
|
|
|
|
"github.com/SecurityBrewery/catalyst/generated/model"
|
|
)
|
|
|
|
func (s *Service) GetLogs(ctx context.Context, reference string) ([]*model.LogEntry, error) {
|
|
id, _ := url.QueryUnescape(reference)
|
|
return s.database.LogList(ctx, id)
|
|
}
|