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 89305f8 commit cba5b7bCopy full SHA for cba5b7b
src/main/kotlin/com/ctrlhub/core/media/ImagesRouter.kt
@@ -1,5 +1,6 @@
1
package com.ctrlhub.core.media
2
3
+import com.ctrlhub.core.Api
4
import com.ctrlhub.core.api.ApiClientException
5
import com.ctrlhub.core.api.ApiException
6
import com.ctrlhub.core.api.UnauthorizedException
@@ -110,4 +111,7 @@ class ImagesRouter(httpClient: HttpClient): Router(httpClient) {
110
111
throw ApiException("Request failed: $endpoint", e)
112
}
113
-}
114
+}
115
+
116
+val Api.images: ImagesRouter
117
+ get() = ImagesRouter(httpClient)
0 commit comments