Skip to content

Commit dc8214a

Browse files
authored
Pass the owner along to the eraseRepository mutation (#3741)
1 parent dd109a6 commit dc8214a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/repo/useEraseRepoContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { useAddNotification } from 'services/toastNotification'
55
import Api from 'shared/api'
66

77
const query = `
8-
mutation EraseRepository($repoName: String!) {
9-
eraseRepository(input: { repoName: $repoName }) {
8+
mutation EraseRepository($owner: String!, $repoName: String!) {
9+
eraseRepository(input: { owner: $owner, repoName: $repoName }) {
1010
error {
1111
... on UnauthorizedError {
1212
message

0 commit comments

Comments
 (0)