Add basic user auth

This commit is contained in:
2023-09-25 01:35:26 -04:00
parent ec394fc170
commit 306059c355
30 changed files with 1433 additions and 663 deletions

View File

@@ -59,7 +59,7 @@ pub async fn stream(
let mut imports = imports.lock().await;
imports.remove(&id.as_uuid())
}
.ok_or_else(|| Error::NotFound("import stream", id.as_uuid()))?;
.ok_or_else(|| Error::NotFoundUuid("import stream", id.as_uuid()))?;
let stream = BroadcastStream::new(receiver);
let stream = stream.map(move |msg| match msg {