Skip to content

Commit

Permalink
fix: changed useAsTitle to caption field
Browse files Browse the repository at this point in the history
  • Loading branch information
tomashco committed Jun 7, 2024
1 parent 07975c9 commit 6e601c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "payload-instagram-plugin",
"version": "0.0.5",
"version": "0.0.6",
"type": "module",
"homepage:": "https://github.com/tomashco/payload-instagram-plugin",
"repository": "[email protected]:tomashco/payload-instagram-plugin.git",
Expand Down
2 changes: 1 addition & 1 deletion src/InstagramPosts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CollectionConfig } from 'payload/types'
const InstagramPosts: CollectionConfig = {
slug: 'instagram-posts',
admin: {
useAsTitle: 'id',
useAsTitle: 'caption',
},
fields: [
{
Expand Down

0 comments on commit 6e601c7

Please sign in to comment.