Просмотр исходного кода

Use graphTweet for cookie sessions for now

Zed 9 месяцев назад
Родитель
Сommit
4b9aec6fde
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/api.nim

+ 2 - 1
src/api.nim

@@ -42,7 +42,8 @@ proc userTweetsAndRepliesUrl(id: string; cursor: string): ApiReq =
 proc tweetDetailUrl(id: string; cursor: string): ApiReq =
 proc tweetDetailUrl(id: string; cursor: string): ApiReq =
   let cookieVars = tweetDetailVars % [id, cursor]
   let cookieVars = tweetDetailVars % [id, cursor]
   result = ApiReq(
   result = ApiReq(
-    cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles),
+    # cookie: apiUrl(graphTweetDetail, cookieVars, tweetDetailFieldToggles),
+    cookie: apiUrl(graphTweet, tweetVars % [id, cursor]),
     oauth: apiUrl(graphTweet, tweetVars % [id, cursor])
     oauth: apiUrl(graphTweet, tweetVars % [id, cursor])
   )
   )