Improve experience for dev setup

This commit is contained in:
Simon Goller 2024-06-10 08:37:46 +02:00
parent 764faa6e6b
commit 315f715215
4 changed files with 597 additions and 39 deletions

View file

@ -24,6 +24,9 @@ impl service::user_service::UserService for UserServiceDev {
_context: Self::Context,
) -> Result<Arc<str>, service::ServiceError> {
Ok("DEVUSER".into())
// Uncomment to test unauthorized response (not logged in)
//Err(service::ServiceError::Unauthorized)
}
}