@@ -1,6 +1,6 @@
|
|||||||
import { Column, Row, Text } from '@react-email/components';
|
import { Text } from '@react-email/components';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import EmailLayout, { bodyText, footerText } from './components/EmailLayout';
|
import EmailLayout, { bodyText } from './components/EmailLayout';
|
||||||
|
|
||||||
export const TrustCenterDocumentAccessRejected = () => {
|
export const TrustCenterDocumentAccessRejected = () => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ func (p *Document) LoadByIDWithFilter(
|
|||||||
filter *DocumentFilter,
|
filter *DocumentFilter,
|
||||||
) error {
|
) error {
|
||||||
q := `
|
q := `
|
||||||
SELECT
|
SELECT
|
||||||
id,
|
id,
|
||||||
organization_id,
|
organization_id,
|
||||||
owner_id,
|
owner_id,
|
||||||
@@ -143,9 +143,9 @@ func (p *Document) LoadByIDWithFilter(
|
|||||||
trust_center_visibility,
|
trust_center_visibility,
|
||||||
created_at,
|
created_at,
|
||||||
updated_at
|
updated_at
|
||||||
FROM
|
FROM
|
||||||
documents
|
documents
|
||||||
WHERE
|
WHERE
|
||||||
%s
|
%s
|
||||||
AND deleted_at IS NULL
|
AND deleted_at IS NULL
|
||||||
AND id = @document_id
|
AND id = @document_id
|
||||||
|
|||||||
Reference in New Issue
Block a user