Skip to content

Commit

Permalink
Fix broken durable object jurisdiction link (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
mendess authored Aug 2, 2024
1 parent bd2a034 commit b243b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/durable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl ObjectNamespace {
/// currently compatible with ids created by `id_from_name()`.
///
/// See supported jurisdictions and more documentation at:
/// <https://developers.cloudflare.com/workers/runtime-apis/durable-objects#restricting-objects-to-a-jurisdiction>
/// <https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction>
pub fn unique_id_with_jurisdiction(&self, jd: &str) -> Result<ObjectId> {
let options = Object::new();
js_sys::Reflect::set(&options, &JsValue::from("jurisdiction"), &jd.into())?;
Expand Down

0 comments on commit b243b3e

Please sign in to comment.