Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sheet name bug #1

Open
VVander opened this issue Jan 30, 2019 · 0 comments
Open

Sheet name bug #1

VVander opened this issue Jan 30, 2019 · 0 comments

Comments

@VVander
Copy link

VVander commented Jan 30, 2019

Hello @dotv0id, thanks for making this! Looks like there's a bug in the sheet name request regex, which breaks whole-sheet C# deserialization. Maybe Google changed their api response at some point?

Anyway, the fix is easy enough, just change the regex in line 75 of rsdModule.js:
var sheetName = response.valueRanges[i].range.match (/.+?(?=!|$)/)[0].replace(/'/g, ""); // (?:'[^']*'|^[^']*$)

Can't take credit for this since I found it in a forked version here: amoghvc@3241df6

Works for me when I tested it in my private mirror of this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant