Skip to content

Commit

Permalink
fix telegram token reading
Browse files Browse the repository at this point in the history
  • Loading branch information
mmvpm committed May 4, 2024
1 parent 9f33390 commit 843e012
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ object ResourceUtils {
Using(Source.fromFile(filename))(_.mkString).get

def readTelegramToken(): String =
readFile("secret/telegram-token.txt")
readFile("secret/telegram-token.txt").trim
}

0 comments on commit 843e012

Please sign in to comment.