Skip to content

Commit

Permalink
i am very smart
Browse files Browse the repository at this point in the history
  • Loading branch information
RealFascinated committed Mar 7, 2025
1 parent c874d86 commit 648a891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DATABASE_URL="postgres://clippy:clippy@localhost:5432/clippy"

# Better Auth
BETTER_AUTH_SECRET="CHANGE_ME"
NEXT_PUBLIC_ALLOW_REGISTRATIONS=true

# File Storage
STORAGE_PROVIDER="S3"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { formatBytes } from "./utils/utils";
*/
async function sendUploadFileNotification(user: UserType, file: FileType) {
// Send webhook if enabled
if (!user.preferences.notifications.uploadFile.sendWebhook) {
if (user.preferences.notifications.uploadFile.sendWebhook) {
await dispatchWebhookEvent(user, {
title: "File Uploaded",
description: `A file for \`${user.name}\` has been uploaded:`,
Expand Down

0 comments on commit 648a891

Please sign in to comment.