File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/commonMain/kotlin/net/pearx/kpastebin Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ public class PastebinClient(
133
133
*
134
134
* @throws InvalidUserKeyException when [userKey] is null, expired or invalid.
135
135
*/
136
+ @ExperimentalUnsignedTypes
136
137
public suspend fun listPastes (resultsLimit : Int = 50): List <PasteDetails > {
137
138
require(resultsLimit in 1 .. 1000 ) { " resultsLimit should be in range of 1 to 1000" }
138
139
val out = sendRequest(API_URL_POST , true ) {
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import net.pearx.kpastebin.internal.XML_PROPERTY_REGEX
23
23
* @property url Paste URL.
24
24
* @property hits Paste view count.
25
25
*/
26
+ @ExperimentalUnsignedTypes
26
27
public data class PasteDetails (
27
28
val key : String ,
28
29
val date : ULong ,
You can’t perform that action at this time.
0 commit comments