Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fixed up some schema issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmarmour committed Sep 24, 2020
1 parent 0dad012 commit 6c3275e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion internal/rest/nvidia.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// ProductsResponse Used for unmarshalling JSON response from api.nvidia.partners
type ProductsResponse struct {
Products Products `json:products`
Products Products `json:"products"`
}

// Products Used for unmarshalling JSON response from api.nvidia.partners
Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ func main() {
discord := flag.Bool("discord", false, "Enable Discord webhook notifications for whenever SKU is in stock.")
telegram := flag.Bool("telegram", false, "Enable Telegram webhook notifications for whenever SKU is in stock.")
remote := flag.Bool("remote", false, "Enable notification only mode.")
console := flag.Bool("console", false, "Enable running in non-interactive console mode.")
test := flag.Bool("test", false, "Enable remote mode for when you're away from computer.")
flag.Parse()

Expand Down

0 comments on commit 6c3275e

Please sign in to comment.