Skip to content

Commit

Permalink
fix: remove session_state parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
thecaralice committed Oct 12, 2024
1 parent a1ec849 commit 28fe75f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ let
rm migrations/.gitkeep
'';
inherit cargoArtifacts;
patches = lib.optional defaultReleaseProfile ./release.patch;
patches = [ ./session_state.patch ] ++ lib.optional defaultReleaseProfile ./release.patch;
};
in
craneLib.buildPackage (
Expand Down
9 changes: 9 additions & 0 deletions packages/server/session_state.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
--- a/src/handlers/auth_handler.rs
+++ b/src/handlers/auth_handler.rs
@@ -34,5 +34,4 @@
#[derive(Deserialize, Debug)]
pub struct OpCallback {
pub state: String,
- pub session_state: String,
pub code: String,
}

0 comments on commit 28fe75f

Please sign in to comment.