Skip to content

Commit 73b03d9

Browse files
committed
Update wikidata_client.rb
1 parent 96e945a commit 73b03d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/wikidata_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def add_seqcode_claim(entity_id, seqcode_accession, csrf_token)
109109
property: @accession_property,
110110
snaktype: 'value',
111111
value: seqcode_accession.to_json,
112-
token: csrf_token,
112+
# OAuth # token: csrf_token,
113113
format: 'json',
114114
summary: 'Adding SeqCode Registry accession via SeqCodeBot',
115115
bot: true
@@ -231,7 +231,7 @@ def add_reference_to_claim(claim_id, csrf_token)
231231
action: 'wbsetreference',
232232
statement: claim_id,
233233
snaks: { P248: [snak_ref, snak_time] }.to_json,
234-
token: csrf_token,
234+
# OAuth # token: csrf_token,
235235
format: 'json',
236236
summary: 'Adding source: SeqCode Registry via SeqCodeBot',
237237
bot: true

0 commit comments

Comments
 (0)