@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/lib/commands/serve.js +3 -9
- package/lib/creatorDist/assets/{index-BWHp9KF3.js → index-CZYzWk3G.js} +1094 -1100
- package/lib/creatorDist/index.html +1 -1
- package/lib/utils/api.js +1 -1
- package/package.json +1 -1
- package/src/commands/serve.ts +3 -10
- package/src/creator/src/components/syllabus/SyllabusEditor.tsx +1 -3
- package/src/creator/src/utils/rigo.ts +3 -2
- package/src/creatorDist/assets/{index-BWHp9KF3.js → index-CZYzWk3G.js} +1094 -1100
- package/src/creatorDist/index.html +1 -1
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +347 -347
- package/src/ui/app.tar.gz +0 -0
- package/src/utils/api.ts +1 -1
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 })
|