File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ use url::Url;
46
46
use gotrue_entity:: dto:: SignUpResponse :: { Authenticated , NotAuthenticated } ;
47
47
use gotrue_entity:: dto:: { GotrueTokenResponse , UpdateGotrueUserParams , User } ;
48
48
49
- pub const CLIENT_API_VERSION : Option < & ' static str > = std :: option_env! ( "GITHUB_SHA" ) ;
49
+ pub const CLIENT_API_VERSION : & str = "0.0.3" ;
50
50
pub const X_COMPRESSION_TYPE : & str = "X-Compression-Type" ;
51
51
pub const X_COMPRESSION_BUFFER_SIZE : & str = "X-Compression-Buffer-Size" ;
52
52
pub const X_COMPRESSION_TYPE_BROTLI : & str = "brotli" ;
@@ -1178,7 +1178,7 @@ impl Client {
1178
1178
let request_builder = self
1179
1179
. cloud_client
1180
1180
. request ( method, url)
1181
- . header ( "client-version" , CLIENT_API_VERSION . unwrap_or ( "unknown" ) )
1181
+ . header ( "client-version" , CLIENT_API_VERSION )
1182
1182
. header ( "client-timestamp" , ts_now. to_string ( ) )
1183
1183
. bearer_auth ( access_token) ;
1184
1184
Ok ( request_builder)
You can’t perform that action at this time.
0 commit comments