1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-07-03 22:45:01 +00:00

Can access admin logs from the API

This commit is contained in:
2021-07-10 19:40:41 +02:00
parent b20c261c7d
commit 5d97ca18cb
10 changed files with 86 additions and 11 deletions

View File

@ -2,7 +2,7 @@
use crate::data::admin::AdminID;
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(serde::Serialize, serde::Deserialize, Clone)]
pub enum AdminAction {
AuthWithResetToken,
AuthWithAccessKey { key: String, key_id: u64 },