From bd2c989dc1a4dbaef29c4b77a02aa5a55262b4f8 Mon Sep 17 00:00:00 2001 From: Aaricdev Date: Sun, 17 Dec 2023 00:20:05 +0100 Subject: [PATCH] Fix naming of video offset --- internal/database/videos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/database/videos.go b/internal/database/videos.go index 6a64c0f..be6264b 100644 --- a/internal/database/videos.go +++ b/internal/database/videos.go @@ -32,7 +32,7 @@ type Video struct { type VideoMutedSegment struct { VideoID string `db:"video_id" json:"-"` - VideoOffset int `db:"video_offset" json:"video_offset"` + VideoOffset int `db:"video_offset" json:"offset"` Duration int `db:"duration" json:"duration"` }