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

Commit

Permalink
Merge pull request #1 from dernise/patch-1
Browse files Browse the repository at this point in the history
Set the permit function to public
  • Loading branch information
BrettRToomey authored Jan 11, 2017
2 parents 2a4793f + 73769aa commit 5ba7b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Sanitized+JSON.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import JSON

extension JSON {
func permit(_ keys: [String]) -> JSON {
public func permit(_ keys: [String]) -> JSON {
guard var object = node.object as? [String:Node] else { return self }

object.forEach { key,_ in
Expand Down

0 comments on commit 5ba7b41

Please sign in to comment.