diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-11-07 13:33:07 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-11-07 13:33:07 +0100 |
commit | 4bd650eff23bb3c4892b75df33597d8368c14cf3 (patch) | |
tree | 76b5241873e7c4f660688c52c173a7fa0eaa9d0d /kvision-modules/kvision-remote/src/main/kotlin/pl | |
parent | b635f78389cd032ead73a771a6fb8a02b2273159 (diff) | |
download | kvision-4bd650eff23bb3c4892b75df33597d8368c14cf3.tar.gz kvision-4bd650eff23bb3c4892b75df33597d8368c14cf3.tar.bz2 kvision-4bd650eff23bb3c4892b75df33597d8368c14cf3.zip |
Send additional state with TabulatorRemote request
Diffstat (limited to 'kvision-modules/kvision-remote/src/main/kotlin/pl')
-rw-r--r-- | kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt index 5c7cac7f..c257645d 100644 --- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt +++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/remote/KVServiceManager.kt @@ -144,7 +144,7 @@ actual open class KVServiceManager<T : Any> actual constructor(serviceClass: KCl * @param function a function of the receiver */ protected actual inline fun <reified RET> bindTabulatorRemote( - noinline function: suspend T.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?) -> RemoteData<RET> + noinline function: suspend T.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<RET> ) { val routeDef = "route${this::class.simpleName}${counter++}" calls[function.toString().replace("\\s".toRegex(), "")] = Pair("/kv/$routeDef", HttpMethod.POST) |