Skip to content

Commit

Permalink
fix: old test history authorization lose
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Mar 15, 2023
1 parent 361bc9a commit 25a7e9a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ export class ApiTestComponent implements OnInit, AfterViewInit, OnDestroy, TabVi
uuid = uuid.replace('history_', '');
const history: ApiTestHistory = await this.apiTest.getHistory(uuid);
console.log('history.request', history.request);
history.request.authInfo = {
authInfo: {},
authType: noAuth.name,
isInherited: 0,
...history.request.authInfo
};
this.model.request = history.request;
this.model.testResult = history.response;
} else {
Expand Down

0 comments on commit 25a7e9a

Please sign in to comment.