Skip to content

Commit ae86d3b

Browse files
committed
Fix: Add missing duration attribute to webhook-request-log model
The duration field was being returned by the API but wasn't defined in the Ember Data model, causing it to be undefined. Added: @attr('number') duration; This will fix the webhook response time chart showing 0.000ms.
1 parent 6864455 commit ae86d3b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

addon/models/webhook-request-log.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export default class WebhookRequestLogModel extends Model {
1919
@attr('string') reason_phrase;
2020
@attr('string') url;
2121
@attr('number') attempt;
22+
@attr('number') duration;
2223
@attr('raw') response;
2324
@attr('raw') headers;
2425
@attr('raw') meta;

0 commit comments

Comments
 (0)