aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-12-31 03:10:58 -0500
committerAllan Wang <me@allanwang.ca>2017-12-31 03:10:58 -0500
commitb556c42daa61c99c1a2f8de06e1c526425228450 (patch)
tree5b4c29c3d49a2a8ce33c40c36afdf0e80956f3ee /app/src/main
parent6ca914798fb7d2f8712ab04e6885155d3ca3b632 (diff)
downloadfrost-b556c42daa61c99c1a2f8de06e1c526425228450.tar.gz
frost-b556c42daa61c99c1a2f8de06e1c526425228450.tar.bz2
frost-b556c42daa61c99c1a2f8de06e1c526425228450.zip
Mock logger in unit tests
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt
index ca4aa4ac..ae8652e6 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt
@@ -106,14 +106,12 @@ fun String.getAuth(): RequestAuth {
val text = StringEscapeUtils.unescapeEcmaScript(it)
val fb_dtsg = FB_DTSG_MATCHER.find(text)[1]
if (fb_dtsg != null) {
- L._d { "fb_dtsg for ${auth.userId}: $fb_dtsg" }
auth = auth.copy(fb_dtsg = fb_dtsg)
if (auth.isValid) return auth
}
val rev = FB_REV_MATCHER.find(text)[1]
if (rev != null) {
- L._d { "rev for ${auth.userId}: $rev" }
auth = auth.copy(rev = rev)
if (auth.isValid) return auth
}