fix: Error when you try to edit a course from a button

This commit is contained in:
swve 2024-06-14 00:35:57 +01:00
parent f524ddb51a
commit 0fb213ee4e
7 changed files with 22 additions and 17 deletions

View file

@ -49,6 +49,7 @@ const EditActivity = async (params: any) => {
{ revalidate: 0, tags: ['activities'] },
access_token ? access_token : null
)
const org = await getOrganizationContextInfoWithId(courseInfo.org_id, {
revalidate: 180,
tags: ['organizations'],