Explorar o código

Revert guest id workaround for now

Needs more testing
Zed %!s(int64=6) %!d(string=hai) anos
pai
achega
bddb6df567
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/api/utils.nim

+ 1 - 1
src/api/utils.nim

@@ -18,7 +18,7 @@ proc genHeaders*(headers: openArray[tuple[key: string, val: string]];
   if auth: result["authority"] = "twitter.com"
   if lang: result["accept-language"] = consts.lang
   if xml:  result["x-requested-with"] = "XMLHttpRequest"
-  if guestId: result["cookie"] = guestIdCookie
+  # if guestId: result["cookie"] = guestIdCookie
 
   for (key, val) in headers:
     result[key] = val