(
&self,
repo_id: RepoId,
link_id: &ExternalId,
)
| 103 | } |
| 104 | |
| 105 | pub async fn delete_link( |
| 106 | &self, |
| 107 | repo_id: RepoId, |
| 108 | link_id: &ExternalId, |
| 109 | ) -> Result<git::DeleteLinkResult> { |
| 110 | git::DeleteLink { |
| 111 | actor: Arc::clone(&self.viewer), |
| 112 | repo_id, |
| 113 | link_id: link_id.to_owned(), |
| 114 | } |
| 115 | .call(self.mutation()?, &self.redis) |
| 116 | } |
| 117 | |
| 118 | pub async fn delete_session(&self, session_id: String) -> Result<psql::DeleteSessionResult> { |
| 119 | psql::DeleteSession::new(self.viewer.clone(), session_id) |