def getAtom()

in app/db/AtomWorkshopDB.scala [46:56]


  def getAtom(datastore: DynamoDataStore, atomType: AtomType, id: String) =
    transformAtomLibResult(atomType, id, datastore.getAtom(buildKey(atomType, id)))

  def updateAtom(datastore: DynamoDataStore, atom: Atom): Either[AtomAPIError, Atom] = {
    try {
      val result = datastore.updateAtom(atom)
      transformAtomLibResult(atom.atomType, atom.id, result)
    } catch {
      case e: Exception => processException(e)
    }
  }