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

API returns "null" for file timestamp #1107

Closed
rusq opened this issue Aug 31, 2022 · 2 comments
Closed

API returns "null" for file timestamp #1107

rusq opened this issue Aug 31, 2022 · 2 comments
Labels
bug [issue] bug

Comments

@rusq
Copy link
Contributor

rusq commented Aug 31, 2022

What happened

API returns null for the file "timestamp" field (sample raw api output in the attached zip file)

bug109$ go run .                                                                                                                                           
2022/08/31 17:26:07 strconv.Atoi: parsing "null": invalid syntax
exit status 1

Expected behavior

Null values are expected to be treated gracefully.

Steps to reproduce

See attached zip file:
json-unmarshal-issue.zip

reproducible code

See attached zip file:
json-unmarshal-issue.zip

manifest.yaml

Yes, please.

Versions

  • Go: 1.19 darwin/amd64
  • slack-go/slack: v0.11.2

Original issue: rusq/slackdump#109

@rusq
Copy link
Contributor Author

rusq commented Aug 31, 2022

#1106 fixes it, if merged

@kanata2
Copy link
Member

kanata2 commented Sep 9, 2022

Thanks for reporting. I'll confirm later.
(Please use Gist instead of zip😢)

@kanata2 kanata2 added the bug [issue] bug label Sep 9, 2022
@kanata2 kanata2 closed this as completed Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [issue] bug
Projects
None yet
Development

No branches or pull requests

2 participants