mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-06 07:12:46 +01:00
15 lines
279 B
Go
15 lines
279 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)
|
|
}
|