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:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- 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
23
18
- name : Maximize build space
24
19
uses : AdityaGarg8/remove-unwanted-software@v5
25
20
with :
26
21
remove-dotnet : ' true'
27
22
remove-android : ' true'
28
23
remove-codeql : ' true'
29
24
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
30
30
- name : Check formatting
31
31
run : cargo fmt --all -- --check
32
32
- name : Run clippy
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pub enum HcHttpGatewayError {
15
15
#[ error( "Request is malformed: {0}" ) ]
16
16
RequestMalformed ( String ) ,
17
17
/// 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 " ) ]
19
19
UnauthorizedFunction {
20
20
/// App id
21
21
app_id : String ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ async fn unauthorized_function_name_is_rejected() {
99
99
assert_eq ! (
100
100
body,
101
101
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 "}}"#
103
103
)
104
104
) ;
105
105
}
You can’t perform that action at this time.
0 commit comments