braid-text 0.2.92 → 0.2.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -204,7 +204,7 @@ function create_braid_text() {
|
|
|
204
204
|
local_first_put()
|
|
205
205
|
extend_fork_point(update)
|
|
206
206
|
} else if (x.status === 401 || x.status === 403) {
|
|
207
|
-
options.on_unauthorized?.()
|
|
207
|
+
await options.on_unauthorized?.()
|
|
208
208
|
} else throw new Error('failed to PUT: ' + x.status)
|
|
209
209
|
}
|
|
210
210
|
|