Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit e551770

Browse files
Fix name of static fields function
This way Submissions will pick it up when making fields so it will combine the static ones with the ones based on the submission
1 parent 71efdf0 commit e551770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AdminPanel/Models/AdminPanelUser/Extensions/AdminPanelUser+Submittable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Validation
55
import Vapor
66

77
extension AdminPanelUser: Submittable {
8-
public static func makeFields(
8+
public static func makeAdditionalFields(
99
for submission: Submission?,
1010
given user: AdminPanelUser?
1111
) throws -> [Field] {

0 commit comments

Comments
 (0)