Skip to content

Commit

Permalink
fjwaskljghaweiojkghawkejghwjkl
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Dec 22, 2023
1 parent fff8e7c commit af769d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: Swatinem/rust-cache@v2
- run: nix develop -c cargo install sqlx-cli --version 0.6.3 --no-default-features --features rustls --features mysql
- run: nix develop -c cargo sqlx prepare -- --workspace
- run: nix develop -c cargo sqlx prepare -- --workspace --tests
- run: nix develop -c bash -c "cd dwn-server && cargo sqlx prepare"
- run: nix develop -c bash -c "cd dwn-server && cargo sqlx prepare -- --tests"
- uses: EndBug/add-and-commit@v9
with:
message: "chore: sqlx prepare"
Expand Down
4 changes: 3 additions & 1 deletion dwn-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ fn process_message(message: &Message) -> Result<MessageResult, Box<dyn std::erro
//
// THIS MAKES NO SENSE TO ME. HOW DO YOU CREATE THE INITIAL ENTRY???
// I'm just going to assume the spec is wrong and got the logic backwards.
entry_id == message.record_id;
if entry_id == message.record_id {
info!("Creating initial entry for record {}", message.record_id);
}

Ok(MessageResult {
status: Status::new(StatusCode::OK.as_u16(), None),
Expand Down

0 comments on commit af769d1

Please sign in to comment.