File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,14 +45,13 @@ payload-specs-fetch:
4545payload-specs-build :
4646 $(call log,INFO,Building payload specs library ...)
4747 @cd lib_relaysms_payload_specs && \
48- cargo clean && \
49- rm -rf generated/* target/ && \
5048 cargo build --release
5149 $(call log,INFO,Payload specs built)
5250
5351payload-specs-compile : payload-specs-fetch payload-specs-build
5452 $(call log,INFO,Compiling payload specs bindings ...)
5553 @cd lib_relaysms_payload_specs && \
54+ mkdir -p generated && \
5655 cargo run --bin uniffi_bindgen -- generate \
5756 --library target/release/librelaysms_spec_payload.so \
5857 --language python \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def get_keys_for_decryption(
4141 raise ValueError ("token not found" )
4242
4343 token_hash_obj = session .scalar (
44- select (TokenHash ).where (TokenHash .id == token .token_hash_id )
44+ select (TokenHash ).where (TokenHash .token_id == token .id )
4545 )
4646 if not token_hash_obj :
4747 raise ValueError ("token hash not found" )
You can’t perform that action at this time.
0 commit comments