Skip to content

Commit

Permalink
content -> contents
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jun 12, 2024
1 parent 5811b1c commit c752818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handler/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pub mod sync {

for file in files.into_iter() {
let abs_path = file;
let content = read_to_string(&abs_path);
let contents = read_to_string(&abs_path);

// Replace the room path to client's project path, so the client
// can use the path directly.
Expand All @@ -382,7 +382,7 @@ pub mod sync {
.send_json(&serde_json::json!({
"method": METHOD,
"path": path,
"content": content,
"contents": contents,
"status": "success",
}))
.await;
Expand Down

0 comments on commit c752818

Please sign in to comment.