feat: revert enforce kebab-case slugs (#1322) (#1325)

This commit is contained in:
Elliot DeNolf
2022-10-31 16:10:11 -04:00
committed by GitHub
parent e2ec2f7b97
commit 2255ebb64a
9 changed files with 11 additions and 36 deletions

View File

@@ -36,7 +36,7 @@ Simple example collection:
import { CollectionConfig } from 'payload/types';
const Admins: CollectionConfig = {
slug: 'admins',
slug:
// highlight-start
auth: {
tokenExpiration: 7200, // How many seconds to keep the user logged in