File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,18 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v4
18- - uses : Swatinem/rust-cache@v2
19- - uses : cachix/install-nix-action@v30
20- - uses : cachix/cachix-action@v15
21- with :
22- name : holochain-ci
2318 - name : Maximize build space
2419 uses : AdityaGarg8/remove-unwanted-software@v5
2520 with :
2621 remove-dotnet : ' true'
2722 remove-android : ' true'
2823 remove-codeql : ' true'
2924 remove-docker-images : ' true'
25+ - uses : Swatinem/rust-cache@v2
26+ - uses : cachix/install-nix-action@v30
27+ - uses : cachix/cachix-action@v15
28+ with :
29+ name : holochain-ci
3030 - name : Check formatting
3131 run : cargo fmt --all -- --check
3232 - name : Run clippy
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pub enum HcHttpGatewayError {
1515 #[ error( "Request is malformed: {0}" ) ]
1616 RequestMalformed ( String ) ,
1717 /// Calling an unauthorized function
18- #[ error( "Function {fn_name} in zome {zome_name} in app {app_id} is not authorized " ) ]
18+ #[ error( "Function {fn_name} in zome {zome_name} in app {app_id} is not allowed " ) ]
1919 UnauthorizedFunction {
2020 /// App id
2121 app_id : String ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ async fn unauthorized_function_name_is_rejected() {
9999 assert_eq ! (
100100 body,
101101 format!(
102- r#"{{"error":"Function {fn_name} in zome zome_name in app coordinator is not authorized "}}"#
102+ r#"{{"error":"Function {fn_name} in zome zome_name in app coordinator is not allowed "}}"#
103103 )
104104 ) ;
105105}
You can’t perform that action at this time.
0 commit comments