Commit d05e9762 authored by mzheng's avatar mzheng

fixed the name of the file

parent d752d875
......@@ -41,7 +41,7 @@ getTest :: NodeId
-> PhyloId
-> GargNoServer (Headers '[Header "Content-Disposition" T.Text] User)
getTest _ pId = pure $ addHeader (T.concat [ "attachment; filename="
, "GarganText_DocsList-"
, "GarganText_Phylo-"
, T.pack (show pId)
, ".json" ])
User {
......@@ -55,9 +55,9 @@ getTest2 :: NodeId
-> PhyloId
-> GargNoServer (Headers '[Header "Content-Disposition" T.Text] User)
getTest2 _ pId = pure $ addHeader (T.concat [ "attachment; filename="
, "GarganText_DocsList-"
, "GarganText_Phylo-"
, T.pack (show pId)
, ".json" ])
, ".dot" ])
User {
_us_name = "test2"
, _us_age = 82
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment