Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

App Fixes : Notion , Jira , Web-Connector #165

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/ocular-models-server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
torch==2.0.1
torch==2.3.1
fastapi==0.111.0
transformers==4.41.2
uvicorn==0.15.0
2 changes: 1 addition & 1 deletion packages/ocular/src/services/app-authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class AppAuthorizationService extends TransactionBaseService {
);
}

const metadata = authToken.metadata;
const metadata = authToken.metadata?authToken.metadata:{};

// Ensure metadata.links is initialized as an array
if (!metadata.links) {
Expand Down