Skip to content

Commit

Permalink
[BUG] Rust sysdb should send default string value (#2112)
Browse files Browse the repository at this point in the history
## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
	 - The go sysdb expects this if id is set
 - New functionality
	 - None

## Test plan
*How are these changes tested?*
- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
None
  • Loading branch information
HammadB authored May 1, 2024
1 parent c8dc668 commit c95fea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/worker/src/sysdb/sysdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ impl SysDb for GrpcSysDb {
tenant: if tenant.is_some() {
tenant.unwrap()
} else {
DEFAULT_TENANT.to_string()
"".to_string()
},
database: if database.is_some() {
database.unwrap()
} else {
DEFAULT_DATBASE.to_string()
"".to_string()
},
})
.await;
Expand Down

0 comments on commit c95fea6

Please sign in to comment.