Mercurial > libervia-web
diff libervia/web/server/restricted_bridge.py @ 1539:bc856e74f74d
server (restricted_bridge): add `url_preview_get`
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 28 Jun 2023 10:05:16 +0200 |
parents | 49ad8dd210d0 |
children | 7f3f5ae7d65a |
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 + )