Fix query indentation
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -83,31 +83,31 @@ func (s *SlackMessage) Insert(
|
|||||||
scope Scoper,
|
scope Scoper,
|
||||||
) error {
|
) error {
|
||||||
q := `
|
q := `
|
||||||
INSERT INTO slack_messages (
|
INSERT INTO slack_messages (
|
||||||
id,
|
id,
|
||||||
tenant_id,
|
tenant_id,
|
||||||
organization_id,
|
organization_id,
|
||||||
type,
|
type,
|
||||||
body,
|
body,
|
||||||
requester_email,
|
requester_email,
|
||||||
metadata,
|
metadata,
|
||||||
initial_slack_message_id,
|
initial_slack_message_id,
|
||||||
created_at,
|
created_at,
|
||||||
updated_at
|
updated_at
|
||||||
)
|
)
|
||||||
VALUES (
|
VALUES (
|
||||||
@id,
|
@id,
|
||||||
@tenant_id,
|
@tenant_id,
|
||||||
@organization_id,
|
@organization_id,
|
||||||
@type,
|
@type,
|
||||||
@body,
|
@body,
|
||||||
@requester_email,
|
@requester_email,
|
||||||
@metadata,
|
@metadata,
|
||||||
@initial_slack_message_id,
|
@initial_slack_message_id,
|
||||||
@created_at,
|
@created_at,
|
||||||
@updated_at
|
@updated_at
|
||||||
)
|
)
|
||||||
`
|
`
|
||||||
|
|
||||||
args := pgx.StrictNamedArgs{
|
args := pgx.StrictNamedArgs{
|
||||||
"id": s.ID,
|
"id": s.ID,
|
||||||
|
|||||||
Reference in New Issue
Block a user