File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
src/crashes/crashes-api-row Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11interface CrashData {
22 id : string ;
33 stackKey : string ;
4+ stackId : string ;
45 stackKeyId : string ;
56 appName : string ;
67 appVersion : string ;
@@ -31,9 +32,10 @@ export interface CrashesApiResponseRow extends CrashData {
3132}
3233
3334export class CrashesApiRow {
34- public id : string ;
35+ public id : number ;
3536 public stackKey : string ;
36- public stackKeyId : string ;
37+ public stackId : number ;
38+ public stackKeyId : number ;
3739 public appName : string ;
3840 public appVersion : string ;
3941 public appDescription : string ;
@@ -54,9 +56,10 @@ export class CrashesApiRow {
5456 public exceptionMessage : string ;
5557
5658 constructor ( rawApiRow : CrashesApiResponseRow ) {
57- this . id = rawApiRow . id ;
59+ this . id = Number ( rawApiRow . id ) ;
5860 this . stackKey = rawApiRow . stackKey ;
59- this . stackKeyId = rawApiRow . stackKeyId ;
61+ this . stackKeyId = Number ( rawApiRow . stackKeyId ) ;
62+ this . stackId = Number ( rawApiRow . stackId ) ;
6063 this . appName = rawApiRow . appName ;
6164 this . appVersion = rawApiRow . appVersion ;
6265 this . appDescription = rawApiRow . appDescription ;
You can’t perform that action at this time.
0 commit comments