formatting and update image

This commit is contained in:
Preston Baxter 2023-11-23 12:22:16 -06:00
parent 5f967bcde1
commit 9ad4170b82
13 changed files with 26 additions and 26 deletions

BIN
code.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 KiB

After

Width:  |  Height:  |  Size: 409 KiB

View File

@ -24,7 +24,6 @@ func (api *PcoApiClient) GetSubscriptions() ([]webhooks.Subscription, error) {
return nil, err
}
if resp.StatusCode > 299 || resp.StatusCode < 200 {
if raw, err := io.ReadAll(resp.Body); err == nil {
return nil, fmt.Errorf("Failed to retrieve subscriptions with status code: %d. Error %s", resp.StatusCode, string(raw))

View File

@ -75,5 +75,4 @@ func TestCreateSubscriptions(t *testing.T) {
t.Fatal(err)
}
}

View File

@ -76,4 +76,6 @@ func (db *DB) FindAuditTrailForUser(userId primitive.ObjectID) ([]models.EventRe
return events, actions, nil
}
func (db *DB) FindEventRecievedByVendorId(id string) ([]models.EventRecieved) {return []models.EventRecieved{}}
func (db *DB) FindEventRecievedByVendorId(id string) []models.EventRecieved {
return []models.EventRecieved{}
}

View File

@ -1,4 +1,4 @@
{
"webhook_version": "0.0.59",
"webhook_version": "0.0.60",
"frontend_version": "0.0.40"
}