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 #38 from nodes-vapor/feature/vapor-2-released
Browse files Browse the repository at this point in the history
Feature/vapor 2 released
  • Loading branch information
steffendsommer authored May 18, 2017
2 parents c7c5d2f + 4abb9b6 commit 98107ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output

Package.pins
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import PackageDescription
let package = Package(
name: "Storage",
dependencies: [
.Package(url: "https://github.com/vapor/vapor.git", Version(2,0,0, prereleaseIdentifiers: ["beta"])),
.Package(url: "https://github.com/nodes-vapor/data-uri.git", Version(1,0,0, prereleaseIdentifiers: ["beta"])),
.Package(url: "https://github.com/nodes-vapor/aws.git", Version(1,0,0, prereleaseIdentifiers: ["beta"])),
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2),
.Package(url: "https://github.com/nodes-vapor/data-uri.git", majorVersion: 1),
.Package(url: "https://github.com/nodes-vapor/aws.git", majorVersion: 1),
.Package(url: "https://github.com/manGoweb/MimeLib.git", majorVersion: 1)
]
)
2 changes: 1 addition & 1 deletion Sources/Storage/Storage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public class Storage {
folder: String? = nil
) throws -> String {
return try upload(
bytes: base64.base64Decoded,
bytes: base64.makeBytes().base64Decoded,
fileName: fileName,
fileExtension: fileExtension,
mime: mime,
Expand Down

0 comments on commit 98107ea

Please sign in to comment.