We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f51a986 commit 87f13f7Copy full SHA for 87f13f7
1 file changed
dev/payload.config.ts
@@ -55,18 +55,6 @@ const buildConfigWithMemoryDB = async () => {
55
{
56
slug: 'media',
57
fields: [],
58
- hooks: {
59
- afterChange: [
60
- async ({ doc, operation, payload }) => {
61
- console.log('Media document changed: ' + operation, doc)
62
-
63
- // Example: Log the stream URL if available
64
- if (doc?.stream?.url) {
65
- console.log('Stream URL:', doc.stream.url)
66
- }
67
- },
68
- ],
69
70
upload: {
71
adminThumbnail: ({ doc }) => {
72
// Return the URL from your custom `externalUrl` field
0 commit comments