Skip to content

Commit e6a1977

Browse files
committed
fix: use json instead of jsonb for tile request
1 parent e81cd4b commit e6a1977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/martin/tileset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Tileset {
4848
.map(|key| format!("'{0}', \"{0}\"", key))
4949
.collect();
5050

51-
format!("jsonb_strip_nulls(jsonb_build_object({0}))", keys.join(","))
51+
format!("json_strip_nulls(json_build_object({0}))", keys.join(","))
5252
}
5353

5454
pub fn get_query(&self, z: u32, x: u32, y: u32, condition: Option<String>) -> String {

0 commit comments

Comments
 (0)