chore: remove the `unauthorized` type for `from` field

This commit is contained in:
JianBo He 2023-09-27 20:32:46 +08:00
parent 71acf121ba
commit bdf24d0ec8
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ log(Meta0) ->
ok. ok.
from(jwt_token) -> "dashboard"; from(jwt_token) -> "dashboard";
from(api_key) -> "rest_api"; from(_) -> "rest_api".
from(_) -> "unauthorized".
level(get, _Code, _) -> debug; level(get, _Code, _) -> debug;
level(_, Code, _) when Code >= 200 andalso Code < 300 -> info; level(_, Code, _) when Code >= 200 andalso Code < 300 -> info;