1 db per vault

This commit is contained in:
Andras Schmelczer 2025-03-16 14:51:58 +00:00
parent c62957087f
commit c49ee759ac
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
16 changed files with 151 additions and 99 deletions

View file

@ -30,7 +30,7 @@ pub async fn fetch_latest_documents(
TypedHeader(auth_header): TypedHeader<Authorization<Bearer>>,
Path(PathParams { vault_id }): Path<PathParams>,
Query(QueryParams { since_update_id }): Query<QueryParams>,
State(state): State<AppState>,
State(mut state): State<AppState>,
) -> Result<Json<FetchLatestDocumentsResponse>, SyncServerError> {
auth(&state, auth_header.token())?;