mirror of
https://gitlab.com/NvlblNm/wayfarer.git
synced 2024-09-18 02:24:58 +08:00
probably fix exporter, but who knows, it’s not like I tested it
This commit is contained in:
parent
4708be8000
commit
bfd5f635da
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name Wayfarer Exporter
|
||||
// @version 0.10
|
||||
// @version 0.11
|
||||
// @description Export nominations data from Wayfarer to IITC in Wayfarer Planner
|
||||
// @namespace https://gitlab.com/NvlblNm/wayfarer/
|
||||
// @downloadURL https://gitlab.com/NvlblNm/wayfarer/raw/master/wayfarer-exporter.user.js
|
||||
@ -53,7 +53,7 @@ function init() {
|
||||
try {
|
||||
const response = this.response
|
||||
const json = JSON.parse(response)
|
||||
const nominations = json && json.result && json.result.nominations
|
||||
const nominations = json && json.result && json.result.submissions
|
||||
if (!nominations) {
|
||||
logMessage('Failed to parse nominations from Wayfarer')
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user