Skip to content

Commit c620fe3

Browse files
committed
Fixed wrong attribute name preventing list and detail block generation.
1 parent ffbe25d commit c620fe3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SparkDevNetwork.Rock.DevTool/Commands/Abstractions/BaseBlockCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ protected string GetText( string title, string defaultValue )
234234
/// <returns>The unique identifier or <c>null</c> if it wasn't defined.</returns>
235235
protected static Guid? GetEntityTypeGuid( Type entityType )
236236
{
237-
var attribute = entityType.GetCustomAttributeData( "Rock.SystemGuid.EntityTypeGuid" );
237+
var attribute = entityType.GetCustomAttributeData( "Rock.SystemGuid.EntityTypeGuidAttribute" );
238238

239239
if ( attribute == null )
240240
{

0 commit comments

Comments
 (0)