From dd82e51d0f413668a82590f580c03ed071ab61e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Portela=20Afonso?= Date: Sun, 3 Nov 2019 19:50:36 +0000 Subject: [PATCH] feat: Added user-username case (#4) --- Package.swift | 2 +- Sources/YouClap/AmericaMessage.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 3b6072c..1768052 100644 --- a/Package.swift +++ b/Package.swift @@ -12,7 +12,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/vapor/vapor.git", from: "3.3.1"), .package(url: "https://github.com/vapor/fluent-mysql.git", from: "3.0.1"), - .package(url: "https://github.com/YouClap/GoogleCloudPubSubKit.git", from: "0.1.0") + .package(url: "https://github.com/YouClap/GoogleCloudPubSubKit.git", from: "0.2.0") ], targets: [ .target(name: "YouClap", dependencies: ["Vapor", "FluentMySQL", "GoogleCloudPubSubKit"]), diff --git a/Sources/YouClap/AmericaMessage.swift b/Sources/YouClap/AmericaMessage.swift index 5679848..103340a 100644 --- a/Sources/YouClap/AmericaMessage.swift +++ b/Sources/YouClap/AmericaMessage.swift @@ -36,6 +36,7 @@ extension AmericaMessage { case group case post case user + case userUsername } public enum Data {