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 4ae04d5Copy full SHA for 4ae04d5
crates/common/src/integrations/lockr.rs
@@ -311,13 +311,17 @@ 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![
320
// SDK serving
- IntegrationEndpoint::get("/integrations/lockr/sdk"),
321
+ self.get("/sdk"),
322
// API proxy endpoints
- IntegrationEndpoint::post("/integrations/lockr/api/*"),
- IntegrationEndpoint::get("/integrations/lockr/api/*"),
323
+ self.post("/api/*"),
324
+ self.get("/api/*"),
325
]
326
}
327
0 commit comments