Mercurial > libervia-web
changeset 1539:bc856e74f74d
server (restricted_bridge): add `url_preview_get`
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 28 Jun 2023 10:05:16 +0200 |
parents | 8d61654cb34f |
children | b4342176fa0a |
files | libervia/web/server/restricted_bridge.py |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/web/server/restricted_bridge.py Wed Jun 28 10:05:16 2023 +0200 +++ b/libervia/web/server/restricted_bridge.py Wed Jun 28 10:05:16 2023 +0200 @@ -198,3 +198,11 @@ "invitation_simple_create", invitee_email, invitee_name, url_template, extra_s, profile ) + + async def url_preview_get( + self, url, options_s, profile + ): + self.no_service_profile(profile) + return await self.host.bridge_call( + "url_preview_get", url, options_s, profile + )