about summary refs log tree commit diff
path: root/db_actions.go
diff options
context:
space:
mode:
Diffstat (limited to 'db_actions.go')
-rw-r--r--db_actions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_actions.go b/db_actions.go
index a51bcfc..a9098af 100644
--- a/db_actions.go
+++ b/db_actions.go
@@ -499,7 +499,7 @@ func getQuadrantNodeID(parentNodeID int64, quadrant int64) int64 {
 }
 
 // GetStar returns the star with the given ID from the stars table
-func GetStar(starID int64) structs.Star2D {
+func GetStar(db *sql.DB, starID int64) structs.Star2D {
 	var x, y, vx, vy, m float64
 
 	// get the star from the stars table