formatting and update image
This commit is contained in:
parent
5f967bcde1
commit
9ad4170b82
BIN
code.png
BIN
code.png
Binary file not shown.
Before Width: | Height: | Size: 371 KiB After Width: | Height: | Size: 409 KiB |
|
@ -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))
|
||||
|
|
|
@ -75,5 +75,4 @@ func TestCreateSubscriptions(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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{}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"webhook_version": "0.0.59",
|
||||
"webhook_version": "0.0.60",
|
||||
"frontend_version": "0.0.40"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue