Skip to content

Commit

Permalink
remove line
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrogilcarrano committed May 6, 2024
1 parent 1470d65 commit 9b8ce44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ApiDocumentationElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,10 @@ export class ApiDocumentationElement extends EventsTargetMixin(AmfHelperMixin(Li
let endpointId;
let methodId;
if (selectedType === 'method') {
endpointId = eid;
if(this._isAsyncAPI(this.amf) && this._endpoint){
endpointId = this._endpoint['@id'];
}
// endpointId = eid;
// if(this._isAsyncAPI(this.amf) && this._endpoint){
endpointId = eid || this._endpoint['@id'];
// }
methodId = mid;
} else {
endpointId = mid;
Expand Down

0 comments on commit 9b8ce44

Please sign in to comment.