File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,14 @@ impl Client {
138138 . await
139139 }
140140
141- pub async fn set_user_tier ( & self , user_id : & str , tier : & str ) -> Result < String > {
141+ pub async fn set_user_tier ( & self , user_id : & str , tier : & str ) -> Result < ( ) > {
142142 self . inner
143- . put_json (
143+ . put (
144144 format ! ( "/admin/users/{user_id}/tier/{tier}" ) ,
145145 Option :: < ( ) > :: None ,
146146 )
147- . await
147+ . await ?;
148+
149+ Ok ( ( ) )
148150 }
149151}
Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ impl Shuttle {
826826 )
827827 } ) ;
828828 let _ = webbrowser:: open ( & url) ;
829- eprintln ! ( "Complete login in Shuttle Console to authenticate CLI." ) ;
829+ eprintln ! ( "Complete login in Shuttle Console to authenticate the Shuttle CLI." ) ;
830830 eprintln ! ( "If your browser did not automatically open, go to {url}" ) ;
831831 eprintln ! ( ) ;
832832 eprintln ! ( "{}" , format!( "Token: {token}" ) . bold( ) ) ;
You can’t perform that action at this time.
0 commit comments