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 22bb9f2Copy full SHA for 22bb9f2
crates/common/src/integrations/lockr.rs
@@ -311,14 +311,12 @@ 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> {
- vec![
- // SDK serving
- IntegrationEndpoint::get("/integrations/lockr/sdk"),
- // API proxy endpoints
319
- IntegrationEndpoint::post("/integrations/lockr/api/*"),
320
- IntegrationEndpoint::get("/integrations/lockr/api/*"),
321
- ]
+ vec![self.get("/sdk"), self.post("/api/*"), self.get("/api/*")]
322
}
323
324
async fn handle(
0 commit comments