Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
openalex
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
crawlers
openalex
Commits
99e6fa76
Verified
Commit
99e6fa76
authored
Sep 05, 2024
by
Przemyslaw Kaminski
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] ngrams_url can be optional as it turns out
parent
c673924b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Types.hs
src/OpenAlex/Types.hs
+2
-2
No files found.
src/OpenAlex/Types.hs
View file @
99e6fa76
...
...
@@ -261,7 +261,7 @@ data Work = Work
,
locations
::
[
Location
]
,
locations_count
::
Count
,
mesh
::
[
MeSH
]
,
ngrams_url
::
URL
,
ngrams_url
::
Maybe
URL
,
open_access
::
OpenAccess
,
primary_location
::
Maybe
Location
,
publication_date
::
CreatedDate
...
...
@@ -303,7 +303,7 @@ instance FromJSON Work where
locations
<-
v
.:
"locations"
locations_count
<-
v
.:
"locations_count"
mesh
<-
v
.:
"mesh"
ngrams_url
<-
v
.:
"ngrams_url"
ngrams_url
<-
v
.:
?
"ngrams_url"
open_access
<-
v
.:
"open_access"
primary_location
<-
v
.:?
"primary_location"
publication_date
<-
v
.:
"publication_date"
...
...
Przemyslaw Kaminski
@cgenie
mentioned in merge request
!5 (closed)
·
Oct 30, 2024
mentioned in merge request
!5 (closed)
mentioned in merge request !5
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment