From 15e5ebe74635fb7231875c52e1cd53a39da4d510 Mon Sep 17 00:00:00 2001 From: Seyora24 Date: Mon, 24 Jul 2023 12:39:36 +0700 Subject: [PATCH] commit --- controllers/postController.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/postController.go b/controllers/postController.go index 4f66ff5..79defbd 100644 --- a/controllers/postController.go +++ b/controllers/postController.go @@ -285,6 +285,7 @@ func parseUserIDs(idsStr string) []uint { } return userIDs } + func GetLoginRecords(c *gin.Context) { var loginRecords []models.LoginRecord result := initializers.DB.Find(&loginRecords)