File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export class InspectViewServer extends PackageViewServer {
108108 public async evalLogSize ( file : string ) : Promise < number > {
109109 if ( this . haveInspectEvalLogFormat ( ) ) {
110110 return Number (
111- await this . api_json ( `/api/log-size/${ encodeURIComponent ( file ) } ` )
111+ ( await this . api_json ( `/api/log-size/${ encodeURIComponent ( file ) } ` ) ) . data
112112 ) ;
113113 } else {
114114 throw new Error ( "evalLogSize not implemented" ) ;
@@ -118,7 +118,8 @@ export class InspectViewServer extends PackageViewServer {
118118 public async evalLogDelete ( file : string ) : Promise < number > {
119119 if ( this . haveInspectEvalLogFormat ( ) ) {
120120 return Number (
121- await this . api_json ( `/api/log-delete/${ encodeURIComponent ( file ) } ` )
121+ ( await this . api_json ( `/api/log-delete/${ encodeURIComponent ( file ) } ` ) )
122+ . data
122123 ) ;
123124 } else {
124125 throw new Error ( "evalLogDelete not implemented" ) ;
You can’t perform that action at this time.
0 commit comments