diff --git a/package.json b/package.json index 0ad47d5..545c5d4 100644 --- a/package.json +++ b/package.json @@ -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": "git@github.com:tomashco/payload-instagram-plugin.git", diff --git a/src/InstagramPosts.ts b/src/InstagramPosts.ts index c603805..8528866 100644 --- a/src/InstagramPosts.ts +++ b/src/InstagramPosts.ts @@ -4,7 +4,7 @@ import { CollectionConfig } from 'payload/types' const InstagramPosts: CollectionConfig = { slug: 'instagram-posts', admin: { - useAsTitle: 'id', + useAsTitle: 'caption', }, fields: [ {