fix(backend): http_method global type

This commit is contained in:
ShiKhu 2022-03-09 14:24:25 +01:00
parent cd20003a45
commit 9114a6e106

View file

@ -219,7 +219,7 @@ func (conn *Conn) InsertWebFetchEvent(sessionID uint64, savePayload bool, e *Fet
) VALUES (
$1, $2,
$3, $4, $5, $6,
$7, $8, $9::smallint, NULLIF($10, '')::events_common.http_method
$7, $8, $9::smallint, NULLIF($10, '')::http_method
) ON CONFLICT DO NOTHING`,
sessionID, e.Timestamp,
getSqIdx(e.MessageID), e.URL, e.Duration, e.Status < 400,