mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-09-25 22:29:45 +00:00
Make all HTTP routes asynchronous
This commit is contained in:
@@ -171,7 +171,7 @@ mod ws_connections_list {
|
||||
}
|
||||
|
||||
/// Get a WebSocket access token
|
||||
pub fn get_token(r: &mut HttpRequestHandler) -> ResultBoxError {
|
||||
pub async fn get_token(r: &mut HttpRequestHandler) -> ResultBoxError {
|
||||
ws_tokens_list::clean_list();
|
||||
|
||||
let access_token = rand_str(WS_ACCESS_TOKEN_LENGTH);
|
||||
|
Reference in New Issue
Block a user