@learnpack/learnpack 5.0.244 → 5.0.246

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/src/ui/app.tar.gz CHANGED
Binary file
package/src/utils/api.ts CHANGED
@@ -536,7 +536,7 @@ const updateRigoAssetID = async (
536
536
  ) => {
537
537
  const url = `${RIGOBOT_HOST}/v1/learnpack/package/${slug}/`
538
538
  const headers = {
539
- Authorization: `Token ${token}`,
539
+ Authorization: `Token ${token.trim()}`,
540
540
  }
541
541
  try {
542
542
  const response = await axios.put(url, { asset_id }, { headers })