Upgrade to kit v0.3.0

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-04-03 10:56:06 +02:00
parent 8adf26ad20
commit f17fb7bf49
191 changed files with 1617 additions and 1617 deletions

View File

@@ -35,7 +35,7 @@ type SAMLAssertion struct {
func (s *SAMLAssertion) Insert(
ctx context.Context,
conn pg.Conn,
conn pg.Tx,
) error {
query := `
INSERT INTO iam_saml_assertions (id, organization_id, used_at, expires_at)
@@ -62,7 +62,7 @@ VALUES (@id, @organization_id, @used_at, @expires_at)
return nil
}
func DeleteExpiredSAMLAssertions(ctx context.Context, conn pg.Conn, now time.Time) (int64, error) {
func DeleteExpiredSAMLAssertions(ctx context.Context, conn pg.Tx, now time.Time) (int64, error) {
query := `
DELETE FROM iam_saml_assertions
WHERE expires_at < @now