[catalog/setup][xs]: updates for deployment.

- Set DMS to demo.dev.datopian.com which has more datasets than demo.ckan.org.
- Fix typesript bug which was breaking previous deployment.
- Update yarn.lock file so that 'portal' is installed from the latest commit.
This commit is contained in:
anuveyatsu
2021-08-15 00:31:57 +06:00
parent 4dfaaad85e
commit 7a17f4843d
3 changed files with 4 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ const Org: React.FC<{ variables: any }> = ({ variables }) => {
export const getServerSideProps: GetServerSideProps = async (context) => {
const apolloClient = initializeApollo();
const variables = {
id: context.query.org.replace('@', ''),
id: (context.query.org as string).replace('@', ''),
};
await apolloClient.query({