Skip to content

Commit 9c32887

Browse files
committed
chore: alter pdd puzzle marker
1 parent 1202712 commit 9c32887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cms/src/fields/Backpopulate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ function backpopulateHook<TSlug extends keyof Config['collections']>({
2929

3030
let relatedDocs: PaginatedDocs<Config['collections'][TSlug]>
3131
if (Array.isArray(field.relationTo)) {
32-
// @todo BP1 handle backpopulation for polymorphic relationships
32+
// @todo #BP1 handle backpopulation for polymorphic relationships
3333
throw new Error('polymorphic relationship backpopulation not implemented')
3434
} else if (field.relationTo === collection.config.slug) {
3535
relatedDocs = await payload.find({
3636
collection: relationFrom,
3737
pagination: false,
3838
where: {
3939
[relationField]: {
40-
// @todo BP3 handle relationships with hasMany: false
40+
// @todo #BP3 handle relationships with hasMany: false
4141
contains: data.id,
4242
},
4343
},

0 commit comments

Comments
 (0)