Skip to content

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Murmeldyret committed Nov 23, 2023
1 parent a3a6caf commit c0e82a9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/api/ecdar_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,13 @@ impl EcdarApi for ConcreteEcdarApi {
todo!()
}

Check warning on line 222 in src/api/ecdar_api.rs

View workflow job for this annotation

GitHub Actions / cargo fmt

Diff in /home/runner/work/Ecdar-API/Ecdar-API/src/api/ecdar_api.rs

/// Endpoint for updating an access record.
///
/// Takes `UpdateAccessRequest` as input
///
/// Returns a `Status` as response
///
/// `model_id` and `user_id` is set to 0 since they won't be updated in the database.
async fn update_access(&self, request: Request<UpdateAccessRequest>) -> Result<Response<()>, Status> {
let message = request.get_ref().clone();

Expand Down

0 comments on commit c0e82a9

Please sign in to comment.