             throw Abort.badRequest
         }
         
-        var tagsArray: [Node] = []
-        if let rawTagsArray = rawTags {
-            tagsArray = rawTagsArray
-        }
-        
-//        if let tagsNodeArray = rawTags as? [Node] {
-//            tagsArray = tagsNodeArray
-//        }
-//        else if let tagsStringArray = rawTags as? [String] {
-//            tagsArray = tagsStringArray.map { $0.makeNode(in: nil) }
-//        }
+        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)

    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 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 createPostErrors = validatePostCreation(title: rawTitle, contents: rawContents, slugUrl: rawSlugUrl) {
            return try viewFactory.createBlogPostView(uri: request.uri, errors: createPostErrors, title: rawTitle, contents: rawContents, slugUrl: rawSlugUrl, tags: rawTags?.array, isEditing: false, postToEdit: nil, draft: true)
        }

        guard let title = rawTitle, let contents = rawContents, var slugUrl = rawSlugUrl else {
