diff options
Diffstat (limited to 'src/web_service/web_backend.h')
| -rw-r--r-- | src/web_service/web_backend.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web_service/web_backend.h b/src/web_service/web_backend.h index 549bcce29..d75fbcc15 100644 --- a/src/web_service/web_backend.h +++ b/src/web_service/web_backend.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <functional> | 7 | #include <functional> |
| 8 | #include <future> | 8 | #include <mutex> |
| 9 | #include <string> | 9 | #include <string> |
| 10 | #include <tuple> | 10 | #include <tuple> |
| 11 | #include <httplib.h> | 11 | #include <httplib.h> |
| @@ -81,6 +81,7 @@ private: | |||
| 81 | std::unique_ptr<httplib::Client> cli; | 81 | std::unique_ptr<httplib::Client> cli; |
| 82 | 82 | ||
| 83 | struct JWTCache { | 83 | struct JWTCache { |
| 84 | std::mutex mutex; | ||
| 84 | std::string username; | 85 | std::string username; |
| 85 | std::string token; | 86 | std::string token; |
| 86 | std::string jwt; | 87 | std::string jwt; |