|
|
const dbComunidade = _db.get('comunidade', _req.getString("uid"))
|
|
|
|
_header.contentTypeJPG()
|
|
_header.noCache()
|
|
|
|
if (dbComunidade != null && dbComunidade.getString("imagem") != '') {
|
|
const storageImage = _storage.database('comunidade', 'imagem', dbComunidade.getString("imagem"))
|
|
_out.copy(storageImage.inputStream())
|
|
}
|