Added an api endpoint filter and updated the README

This commit is contained in:
ChaoticByte 2023-10-13 19:58:24 +02:00
parent 1fe6bacbc2
commit eef075e899
4 changed files with 20 additions and 1 deletions

View file

@ -98,6 +98,7 @@ func parseApiResponse(data map[string]interface{}, apiEndpoint ApiEndpoint) []Wi
Name: d["name"].(string),
Title: d["title"].(string),
Classification: d["classification"].(string),
ApiEndpointId: apiEndpoint.Id,
}
published, err := time.Parse(PUBLISHED_TIME_FORMAT, d["published"].(string))
if err != nil {