We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b50f51f commit c5a5ff5Copy full SHA for c5a5ff5
crates/common/src/integrations/lockr.rs
@@ -311,13 +311,15 @@ pub fn register(settings: &Settings) -> Option<IntegrationRegistration> {
311
312
#[async_trait(?Send)]
313
impl IntegrationProxy for LockrIntegration {
314
+ fn integration_name(&self) -> &'static str {
315
+ LOCKR_INTEGRATION_ID
316
+ }
317
+
318
fn routes(&self) -> Vec<IntegrationEndpoint> {
319
vec![
- // SDK serving
- IntegrationEndpoint::get("/integrations/lockr/sdk"),
- // API proxy endpoints
- IntegrationEndpoint::post("/integrations/lockr/api/*"),
320
- IntegrationEndpoint::get("/integrations/lockr/api/*"),
+ self.get("/sdk"),
321
+ self.post("/api/*"),
322
+ self.get("/api/*"),
323
]
324
}
325
0 commit comments