Mercurial > libervia-web
comparison 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 |
comparison
equal
deleted
inserted
replaced
1538:8d61654cb34f | 1539:bc856e74f74d |
---|---|
196 self.no_service_profile(profile) | 196 self.no_service_profile(profile) |
197 return await self.host.bridge_call( | 197 return await self.host.bridge_call( |
198 "invitation_simple_create", invitee_email, invitee_name, url_template, extra_s, | 198 "invitation_simple_create", invitee_email, invitee_name, url_template, extra_s, |
199 profile | 199 profile |
200 ) | 200 ) |
201 | |
202 async def url_preview_get( | |
203 self, url, options_s, profile | |
204 ): | |
205 self.no_service_profile(profile) | |
206 return await self.host.bridge_call( | |
207 "url_preview_get", url, options_s, profile | |
208 ) |