     func editPostPostHandler(request: Request, post: BlogPost) throws -> ResponseRepresentable {
         let rawTitle = request.data["inputTitle"]?.string
         let rawContents = request.data["inputPostContents"]?.string
-        let rawTags = request.data["inputTags"]?.array
+        let rawTags = request.data["inputTags"]
         let rawSlugUrl = request.data["inputSlugUrl"]?.string
         let draft = request.data["save-draft"]?.string
         let publish = request.data["publish"]?.string

    func createPostPostHandler(_ request: Request) throws -> ResponseRepresentable {
        let rawTitle = request.data["inputTitle"]?.string
        let rawContents = request.data["inputPostContents"]?.string
        let rawTags = request.data["inputTags"]?.array
        let rawSlugUrl = request.data["inputSlugUrl"]?.string
        let draft = request.data["save-draft"]?.string
        let publish = request.data["publish"]?.string

            throw Abort.badRequest
        }
        
        let tagsArray = rawTags?.array ?? [rawTags?.string?.makeNode(in: nil) ?? nil]

        if let errors = validatePostCreation(title: rawTitle, contents: rawContents, slugUrl: rawSlugUrl) {
            return try viewFactory.createBlogPostView(uri: request.uri, errors: errors, title: rawTitle, contents: rawContents, slugUrl: rawSlugUrl, tags: tagsArray, isEditing: true, postToEdit: post, draft: false)
