Skip to content

Commit

Permalink
Fix api key
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Nov 22, 2024
1 parent c733ba5 commit 647af69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/internal/handlers/teams.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (a *APIStore) GetTeams(c *gin.Context) {
teams[i] = api.Team{
TeamID: teamDB.ID.String(),
Name: teamDB.Name,
ApiKey: teamDB.Edges.TeamAPIKeys[0].ID,
ApiKey: teamDB.Edges.TeamAPIKeys[0].APIKey,
IsDefault: teamDB.Edges.UsersTeams[0].IsDefault,
}
}
Expand Down

0 comments on commit 647af69

Please sign in to comment.