Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Pass gatewayUri to the document
Browse files Browse the repository at this point in the history
  • Loading branch information
gzdunek committed Apr 26, 2022
1 parent 71748b1 commit e09eb75
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,14 @@ export class DocumentsService {
}

createGatewayDocument(opts: CreateGatewayDocumentOpts): DocumentGateway {
const { targetUri, title, targetUser, port } = opts;
const { targetUri, title, targetUser, port, gatewayUri } = opts;
const uri = routing.getDocUri({ docId: unique() });
return {
uri,
kind: 'doc.gateway',
targetUri,
targetUser,
gatewayUri,
title,
port
};
Expand Down

0 comments on commit e09eb75

Please sign in to comment.