Skip to content

Commit

Permalink
[import] takes json file from cloud cloud provider
Browse files Browse the repository at this point in the history
  • Loading branch information
sim51 committed Dec 4, 2024
1 parent 5e32062 commit 27953f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/cloud/github/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ export class GithubProvider implements CloudProvider {
if (
file &&
file.filename &&
(checkFilenameExtension(file.filename, "gexf") || checkFilenameExtension(file.filename, "graphml"))
(checkFilenameExtension(file.filename, "gexf") ||
checkFilenameExtension(file.filename, "graphml") ||
checkFilenameExtension(file.filename, "json"))
) {
result = {
filename: file.filename || "Untitled",
Expand Down

0 comments on commit 27953f5

Please sign in to comment.