1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-23 13:40:51 +00:00

Expose token and a bool to tell if it's a pastie page to mustache.

This commit is contained in:
King_DuckZ 2017-06-14 21:06:45 +01:00
parent 218e9ab6cd
commit 2a5b6277a4
2 changed files with 3 additions and 0 deletions

View file

@ -182,6 +182,8 @@ namespace kamokan {
boost::get<std::string>(parContext["pastie"])
);
parContext["self_destructed"] = pastie_info.self_destructed;
parContext["pastie_token"] = token;
parContext["pastie_page"] = true;
}
std::string PastieResponse::on_mustache_retrieve() {