Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit dbaebf0

Browse files
author
jonas747
committed
fix typo for struct tag
1 parent 9838b20 commit dbaebf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ type InviteUser struct {
11451145

11461146
// An ApplicationCommand is the base "command" model that belongs to an application. This is what you are creating when you POST a new command.
11471147
type ApplicationCommand struct {
1148-
ID int64 `json:"id.string"` // unique id of the command
1148+
ID int64 `json:"id,string"` // unique id of the command
11491149
ApplicationID int64 `json:"application_id,string"` // unique id of the parent application
11501150
Name string `json:"name"` // 1-32 character name matching ^[\w-]{1,32}$
11511151
Description string `json:"description"` // 1-100 character description

0 commit comments

Comments
 (0)