@@ -192,12 +192,11 @@ def forum(self, forum_id: int):
192
192
def forum_threads (self , forum_id : int ):
193
193
return [forum_id ], None
194
194
195
- @endpoint ("forum/{}/since" )
195
+ @endpoint ("forum/{}/since/{} " )
196
196
def _forum_threads_since (self , forum_id : int , since : int , * , data ):
197
197
if not isinstance (since , int ):
198
198
raise TypeError ("`since` must be a UNIX timestamp" )
199
- data ['timestamp' ] = since
200
- return [forum_id ], data
199
+ return [forum_id , since ], data
201
200
202
201
@endpoint ("thread/{}" )
203
202
def thread (self , thread_id : int ):
@@ -207,11 +206,11 @@ def thread(self, thread_id: int):
207
206
def _thread_posts (self , thread_id : int , * , data = None ):
208
207
return [thread_id ], data
209
208
210
- @endpoint ("thread/{}/since" )
209
+ @endpoint ("thread/{}/since/{} " )
211
210
def _thread_posts_since (self , thread_id : int , since : int , * , data ):
212
211
if not isinstance (since , int ):
213
212
raise TypeError ("`since` must be a UNIX timestamp" )
214
- return [thread_id ], data
213
+ return [thread_id , since ], data
215
214
216
215
@endpoint ("post/{}" )
217
216
def post (self , post_id : int ):
0 commit comments