From 4bb61996c9dc9b8f93c095d00729b254fc984771 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 11 Dec 2021 20:49:56 +0000 Subject: [PATCH] fix url --- url/handler/url.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/url/handler/url.go b/url/handler/url.go index 6aad265..a79ffdb 100644 --- a/url/handler/url.go +++ b/url/handler/url.go @@ -72,6 +72,8 @@ func (e *Url) Shorten(ctx context.Context, req *url.ShortenRequest, rsp *url.Sho return err } + rsp.ShortURL = val.ShortURL + return nil }