File tree 2 files changed +2
-2
lines changed
core/src/services/dropbox
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ impl Accessor for DropboxBackend {
96
96
if path == "/" {
97
97
return Ok ( RpStat :: new ( Metadata :: new ( EntryMode :: DIR ) ) ) ;
98
98
}
99
- let resp = self . core . dropbox_get_stat ( path) . await ?;
99
+ let resp = self . core . dropbox_get_metadata ( path) . await ?;
100
100
let status = resp. status ( ) ;
101
101
match status {
102
102
StatusCode :: OK => {
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ impl DropboxCore {
111
111
self . client . send ( request) . await
112
112
}
113
113
114
- pub async fn dropbox_get_stat ( & self , path : & str ) -> Result < Response < IncomingAsyncBody > > {
114
+ pub async fn dropbox_get_metadata ( & self , path : & str ) -> Result < Response < IncomingAsyncBody > > {
115
115
let url = "https://api.dropboxapi.com/2/files/get_metadata" . to_string ( ) ;
116
116
let args = DropboxMetadataArgs {
117
117
path : build_rooted_abs_path ( & self . root , path) ,
You can’t perform that action at this time.
0 commit comments