Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
log fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsdayrs committed Jul 7, 2021
1 parent aa96528 commit b3d8efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ class ShosetsuLuaLib : TwoArgFunction() {
fun RequestBody(data: String, type: MediaType): RequestBody =
data.toRequestBody(type)

fun Log(name: String, arguments: LuaValue) {
ShosetsuSharedLib.logger(name, arguments.tojstring())
fun Log(name: String, arguments: String) {
ShosetsuSharedLib.logger(name, arguments)
}
}

Expand Down

0 comments on commit b3d8efc

Please sign in to comment.